diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-05-07 16:24:47 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-05-07 16:24:47 +0000 |
commit | 4b8b0f1f0a9fe45c2392ddc0983bf53ba30924fb (patch) | |
tree | b2f95a77ce1fad307cd450117abd02f659f264db /sys/scsi/scsiconf.c | |
parent | df124124e635575e64cd0b0cb71ff568725422e0 (diff) |
Eliminate 'mode sense (n) returned nonsense' and 'could not mode sense
(4/5)' messages in favour of a single SC_DEBUG() message about the mode
sense error. Less useless verbiage.
As this eliminates the only SDEV_NOMODESENSE use in scsi/*, eliminate
all quirks table entries that used only SDEV_NOMODESENSE. Iomega Zip
tested by miod@ to ensure this did not break something.
Finally, only fake a geometry if scsi_size() can determine a disk size
to fake from.
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r-- | sys/scsi/scsiconf.c | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 437687e523c..09155b21e74 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.94 2005/04/28 00:12:55 krw Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.95 2005/05/07 16:24:46 krw Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -384,16 +384,6 @@ const struct scsi_quirk_inquiry_pattern scsi_quirk_patterns[] = { {{T_CDROM, T_REMOV, "PLEXTOR", "CD-ROM PX-40TS", "1.01"}, SDEV_NOSYNC}, - {{T_OPTICAL, T_REMOV, - "FUJITSU", "M2513A", "0800"}, SDEV_NOMODESENSE}, - {{T_OPTICAL, T_REMOV, - "DELTIS ", "MOS321 ", "3.30"}, SDEV_NOMODESENSE}, - - {{T_OPTICAL, T_REMOV, - "FUJITSU", "M2513A", "0800"}, SDEV_NOMODESENSE}, - {{T_OPTICAL, T_REMOV, - "DELTIS ", "MOS321 ", "3.30"}, SDEV_NOMODESENSE}, - {{T_DIRECT, T_FIXED, "MICROP ", "1588-15MBSUN0669", ""}, SDEV_AUTOSAVE}, {{T_DIRECT, T_FIXED, @@ -415,18 +405,8 @@ const struct scsi_quirk_inquiry_pattern scsi_quirk_patterns[] = { "" , "DFRSS2F", ""}, SDEV_AUTOSAVE}, {{T_DIRECT, T_FIXED, "QUANTUM ", "ELS85S ", ""}, SDEV_AUTOSAVE}, - {{T_DIRECT, T_FIXED, - "SEAGATE ", "ST19171FC", ""}, SDEV_NOMODESENSE}, - {{T_DIRECT, T_FIXED, - "SEAGATE ", "ST34501FC ", ""}, SDEV_NOMODESENSE}, {{T_DIRECT, T_REMOV, - "iomega", "jaz 1GB", ""}, SDEV_NOMODESENSE|SDEV_NOTAGS}, - {{T_DIRECT, T_REMOV, - "IOMEGA", "ZIP 100", ""}, SDEV_NOMODESENSE}, - {{T_DIRECT, T_REMOV, - "IOMEGA", "ZIP 250", ""}, SDEV_NOMODESENSE}, - {{T_DIRECT, T_FIXED, - "IBM", "0661467", "G"}, SDEV_NOMODESENSE}, + "iomega", "jaz 1GB", ""}, SDEV_NOTAGS}, {{T_DIRECT, T_FIXED, "MICROP", "4421-07", ""}, SDEV_NOTAGS}, {{T_DIRECT, T_FIXED, |