summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-07-29 04:32:33 +0000
committernjl <njl@FreeBSD.org>2003-07-29 04:32:33 +0000
commit30a1bdf8d080bb570b9208200738adc1d69fcc07 (patch)
tree85c32d1a82df771881edefefac7df4172f625827 /sys/conf
parent03d7e648bd6d5f6cfcb461b4dc52147f12adf597 (diff)
downloadFreeBSD-src-30a1bdf8d080bb570b9208200738adc1d69fcc07.zip
FreeBSD-src-30a1bdf8d080bb570b9208200738adc1d69fcc07.tar.gz
Deprecate USB and Firewire quirks. We should now never send 6 byte commands
to such devices. If a device fails due to this commit, add: options DA_OLD_QUIRKS to the kernel config and recompile. Then send the output of "camcontrol inquiry da0" to scsi@freebsd.org so the quirk can be re-enabled.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES6
-rw-r--r--sys/conf/options3
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 18f5ad0..ae772ae 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -962,6 +962,12 @@ options SCSI_NO_SENSE_STRINGS
options SCSI_NO_OP_STRINGS
options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device
+# Options for the CAM SCSI disk driver:
+# DA_OLD_QUIRKS: Restore old USB and firewire quirks that have been
+# deprecated. Please also email scsi@freebsd.org if you
+# have a device that needs this option.
+options DA_OLD_QUIRKS
+
# Options for the CAM CDROM driver:
# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
diff --git a/sys/conf/options b/sys/conf/options
index 1b2b2b3..6b65a3a 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -254,6 +254,9 @@ SCSI_DELAY opt_scsi.h
SCSI_NO_SENSE_STRINGS opt_scsi.h
SCSI_NO_OP_STRINGS opt_scsi.h
+# Options used only in cam/scsi/scsi_da.c
+DA_OLD_QUIRKS opt_scsi.h
+
# Options used only in cam/scsi/scsi_cd.c
CHANGER_MIN_BUSY_SECONDS opt_cd.h
CHANGER_MAX_BUSY_SECONDS opt_cd.h
OpenPOWER on IntegriCloud