Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Define NO_MANUAL_XFER on luna68k as temporary wor...



details:   https://anonhg.NetBSD.org/src/rev/3c9954542708
branches:  trunk
changeset: 771752:3c9954542708
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Dec 02 16:17:04 2011 +0000

description:
Define NO_MANUAL_XFER on luna68k as temporary workaround for hangup problem
during probing old drives like DK312C in OMRON LUNA machines.

I'll check this MSGIN xfer problem later.
(NO_MANUAL_XFER also caused hang on heavy load on hp300 with multiple drives)

diffstat:

 sys/dev/ic/mb89352.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r ce5186312be3 -r 3c9954542708 sys/dev/ic/mb89352.c
--- a/sys/dev/ic/mb89352.c      Fri Dec 02 16:01:50 2011 +0000
+++ b/sys/dev/ic/mb89352.c      Fri Dec 02 16:17:04 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mb89352.c,v 1.52 2010/07/27 14:34:34 jakllsch Exp $    */
+/*     $NetBSD: mb89352.c,v 1.53 2011/12/02 16:17:04 tsutsui Exp $     */
 /*     NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp        */
 
 /*-
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.52 2010/07/27 14:34:34 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.53 2011/12/02 16:17:04 tsutsui Exp $");
 
 #ifdef DDB
 #define        integrate
@@ -127,6 +127,9 @@
 /* threshold length for DMA transfer */
 #define SPC_MIN_DMA_LEN        32
 
+#ifdef luna68k /* XXX old drives like DK312C in LUNAs require this */
+#define NO_MANUAL_XFER
+#endif
 #ifdef x68k    /* XXX it seems x68k SPC SCSI hardware has some quirks */
 #define NEED_DREQ_ON_HARDWARE_XFER
 #define NO_MANUAL_XFER



Home | Main Index | Thread Index | Old Index