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.36 (via patch, reques...
details: https://anonhg.NetBSD.org/src/rev/45e18b8ec76d
branches: netbsd-1-4
changeset: 470188:45e18b8ec76d
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:41:49 2000 +0000
description:
Pull up revision 1.36 (via patch, 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/scsipiconf.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 82878ef4d923 -r 45e18b8ec76d sys/dev/scsipi/scsipiconf.h
--- a/sys/dev/scsipi/scsipiconf.h Sun Jan 23 12:41:20 2000 +0000
+++ b/sys/dev/scsipi/scsipiconf.h Sun Jan 23 12:41:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipiconf.h,v 1.29.2.2 2000/01/16 17:50:15 he Exp $ */
+/* $NetBSD: scsipiconf.h,v 1.29.2.3 2000/01/23 12:41:49 he Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -365,12 +365,16 @@
(*(l)->scsipi_cmd)((l), (c), (cl), (da), (dl), (r), (t), (b), (f))
/*
+ * Default number of retries, used for generic routines.
+ */
+#define SCSIPIRETRIES 4
+
+/*
* Similar, but invoke the controller directly with a scsipi_xfer.
*/
#define scsipi_command_direct(xs) \
(*(xs)->sc_link->adapter->scsipi_cmd)((xs))
-
/*
* Macro to test whether a request will complete asynchronously.
*/
Home |
Main Index |
Thread Index |
Old Index