Module Name: src Committed By: tsutsui Date: Fri Dec 2 16:17:04 UTC 2011
Modified Files: src/sys/dev/ic: mb89352.c Log Message: 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) To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/ic/mb89352.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/mb89352.c diff -u src/sys/dev/ic/mb89352.c:1.52 src/sys/dev/ic/mb89352.c:1.53 --- src/sys/dev/ic/mb89352.c:1.52 Tue Jul 27 14:34:34 2010 +++ src/sys/dev/ic/mb89352.c Fri Dec 2 16:17:04 2011 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: mb89352.c,v /* 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