summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-12-08 06:29:38 +0000
committerps <ps@FreeBSD.org>2003-12-08 06:29:38 +0000
commit812fc1c4e84e8c3f7b79f0282613ff13428d3710 (patch)
treea742c5704471a30ef17dd5bb9c20148cf58940a9 /sys/cam
parentd9a28995d8f0689615408288ff0a9e856a01b4be (diff)
downloadFreeBSD-src-812fc1c4e84e8c3f7b79f0282613ff13428d3710.zip
FreeBSD-src-812fc1c4e84e8c3f7b79f0282613ff13428d3710.tar.gz
Move the ciss quirk to the right section, also update the comment
stating that the controllers do not support SYNC CACHE since ciss only supports a small subset of the scsi spec.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_da.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 41af730..bc9acaf 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -231,6 +231,13 @@ static struct da_quirk_entry da_quirk_table[] =
{T_DIRECT, SIP_MEDIA_FIXED, quantum, "VIKING 2*", "*"},
/*quirks*/ DA_Q_NO_6_BYTE
},
+ {
+ /*
+ * The CISS RAID controllers do not support SYNC_CACHE
+ */
+ {T_DIRECT, SIP_MEDIA_FIXED, "COMPAQ", "RAID*", "*"},
+ /*quirks*/ DA_Q_NO_SYNC_CACHE
+ },
#ifdef DA_OLD_QUIRKS
/* USB floppy devices supported by umass(4) */
{
@@ -376,14 +383,6 @@ static struct da_quirk_entry da_quirk_table[] =
{T_DIRECT, SIP_MEDIA_REMOVABLE, "CREATIVE", "NOMAD_MUVO", "*"},
/*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT
},
- {
- /*
- * The CISS RAID driver drives dont like the cache to be
- * sync'd (esp since write cache is turned off).
- */
- {T_DIRECT, SIP_MEDIA_FIXED, "COMPAQ", "RAID*", "*"},
- /*quirks*/ DA_Q_NO_SYNC_CACHE
- },
};
static disk_strategy_t dastrategy;
OpenPOWER on IntegriCloud