summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-12-14 22:08:13 +0000
committerimp <imp@FreeBSD.org>2000-12-14 22:08:13 +0000
commitd7c24f441effa95171be3d7441eb7d26c558424e (patch)
tree4b7abe4c86cde705ce8bdb659dfb6d9b91a8a439
parent776b3782fe34f509a8d725df3f175b4ff933dcd2 (diff)
downloadFreeBSD-src-d7c24f441effa95171be3d7441eb7d26c558424e.zip
FreeBSD-src-d7c24f441effa95171be3d7441eb7d26c558424e.tar.gz
Generalize quirk for Sony Memory Sticks. Any device that starts with
MS will be treated as having this quirk. In the event that we falsely identify one that doesn't need it, no harm will be done. Ken suggested that we make this more generic since there may be more needed in the future. Reported by: TERAMOTO Masahiro <teramoto@comm.eng.osaka-u.ac.jp> PR: kern/23378 Reviewed by: ken
-rw-r--r--sys/cam/scsi/scsi_da.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 004f40c..35cc469 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -228,8 +228,12 @@ static struct da_quirk_entry da_quirk_table[] =
* Sony Memory Stick adapter MSAC-US1,
* does not support READ_6 commands only READ_10. It also does
* not support sync cache (0x35).
+ * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01) also
+ * has this quirk. Make all sony MS* products use this
+ * quirk. Reported by: TERAMOTO Masahiro
+ * <teramoto@comm.eng.osaka-u.ac.jp> (PR 23378).
*/
- {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "MSAC-US1", "*"},
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "MS*", "*"},
/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
},
{
OpenPOWER on IntegriCloud