Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/scsipi Pull up revision 1.71 (requested by bouy...
details: https://anonhg.NetBSD.org/src/rev/cc007164a298
branches: netbsd-1-4
changeset: 470186:cc007164a298
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:40:43 2000 +0000
description:
Pull up revision 1.71 (requested by bouyer):
Use SCSIPIRETRIES instead of hard-coded value '2' for number of
retries in common routines, and define it as 4 so that ATAPI
command will succeed after several downgrade.
diffstat:
sys/dev/scsipi/scsi_base.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 65c194288302 -r cc007164a298 sys/dev/scsipi/scsi_base.c
--- a/sys/dev/scsipi/scsi_base.c Sun Jan 23 12:37:37 2000 +0000
+++ b/sys/dev/scsipi/scsi_base.c Sun Jan 23 12:40:43 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsi_base.c,v 1.66.4.1 1999/06/24 16:18:20 perry Exp $ */
+/* $NetBSD: scsi_base.c,v 1.66.4.2 2000/01/23 12:40:43 he Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
return (scsipi_command(sc_link,
(struct scsipi_generic *) &scsipi_cmd, sizeof(scsipi_cmd),
- 0, 0, 2, 100000, NULL, flags));
+ 0, 0, SCSIPIRETRIES, 100000, NULL, flags));
}
/*
Home |
Main Index |
Thread Index |
Old Index