From 812fc1c4e84e8c3f7b79f0282613ff13428d3710 Mon Sep 17 00:00:00 2001 From: ps Date: Mon, 8 Dec 2003 06:29:38 +0000 Subject: 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. --- sys/cam/scsi/scsi_da.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'sys/cam') 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; -- cgit v1.1