From 672f49bfa2f9b406f3c6af84bd10ef58046dd5fb Mon Sep 17 00:00:00 2001 From: pk Date: Fri, 16 Feb 2001 22:54:27 +0000 Subject: [PATCH] Turn off command tagging by default for pre-SCSI2 devices. --- sys/dev/scsipi/scsiconf.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys/dev/scsipi/scsiconf.c b/sys/dev/scsipi/scsiconf.c index b98f6b7cacbc..45816acd40de 100644 --- a/sys/dev/scsipi/scsiconf.c +++ b/sys/dev/scsipi/scsiconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: scsiconf.c,v 1.154 2001/01/18 20:28:21 jdolecek Exp $ */ +/* $NetBSD: scsiconf.c,v 1.155 2001/02/16 22:54:27 pk Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -779,7 +779,16 @@ scsi_probedev(scsi, target, lun) sc_link->quirks |= SDEV_NOSYNC; if ((inqbuf.flags3 & SID_WBus16) == 0) sc_link->quirks |= SDEV_NOWIDE; + } else { + /* + * Turn off command tagging for SCSI 1 devices. + * If the need arises, we could define a `SDEV_FORCETAG' + * quirk and set it for pre-SCSI2 devices that actually + * do support tagged commands. + */ + sc_link->quirks |= SDEV_NOTAG; } + /* * Now apply any quirks from the table. */