summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-12-08 05:14:13 +0000
committerps <ps@FreeBSD.org>2003-12-08 05:14:13 +0000
commitf3655999ab30e538a19af17e2e1f4e987c13bd55 (patch)
tree0fae0b5c1feeb57859fcc68b1c50fefab60a842f /sys/cam
parent57edf7b53cdf53d476b8b55f386fa861c25eba0b (diff)
downloadFreeBSD-src-f3655999ab30e538a19af17e2e1f4e987c13bd55.zip
FreeBSD-src-f3655999ab30e538a19af17e2e1f4e987c13bd55.tar.gz
ciss doesn't like scsi SYNC CACHE. turn it off
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_da.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 884e948..41af730 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -376,6 +376,14 @@ 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