diff options
author | njl <njl@FreeBSD.org> | 2003-08-25 18:14:43 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-08-25 18:14:43 +0000 |
commit | 2576cdbe11debe95c533d059479e658cc8a73f8a (patch) | |
tree | 361bdb8f0d74c797c0f1d5d9ea744960a4490ffa /sys | |
parent | aae16cc96e66ec135651aa96c114f040923eb4c7 (diff) | |
download | FreeBSD-src-2576cdbe11debe95c533d059479e658cc8a73f8a.zip FreeBSD-src-2576cdbe11debe95c533d059479e658cc8a73f8a.tar.gz |
Sort quirks into sections.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index de36121..6c756e1 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -147,6 +147,7 @@ static const char microp[] = "MICROP"; static struct da_quirk_entry da_quirk_table[] = { + /* SPI, FC devices */ { /* * Fujitsu M2513A MO drives. @@ -227,9 +228,8 @@ static struct da_quirk_entry da_quirk_table[] = {T_DIRECT, SIP_MEDIA_FIXED, quantum, "VIKING 2*", "*"}, /*quirks*/ DA_Q_NO_6_BYTE }, - #ifdef DA_OLD_QUIRKS - /* Below a list of quirks for USB devices supported by umass. */ + /* USB floppy devices supported by umass(4) */ { /* * This USB floppy drive uses the UFI command set. This @@ -247,6 +247,24 @@ static struct da_quirk_entry da_quirk_table[] = }, { /* + * The vendor, product and version strings coming from the + * controller are null terminated instead of being padded with + * spaces. The trailing wildcard character '*' is required. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { + /* + * SmartDisk (Mitsumi) USB floppy drive + * PR: kern/50226 + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "MITSUMI", "USB FDD", "*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + /* USB mass storage devices supported by umass(4) */ + { + /* * Sony Memory Stick adapter MSAC-US1 and * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01). * Make all sony MS* products use this quirk. @@ -288,15 +306,6 @@ static struct da_quirk_entry da_quirk_table[] = }, { /* - * The vendor, product and version strings coming from the - * controller are null terminated instead of being padded with - * spaces. The trailing wildcard character '*' is required. - */ - {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, - /*quirks*/ DA_Q_NO_SYNC_CACHE - }, - { - /* * Olympus digital cameras (C-3040ZOOM, C-2040ZOOM, C-1) */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "C-*", "*"}, @@ -355,14 +364,6 @@ static struct da_quirk_entry da_quirk_table[] = {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Storage Media", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, - { - /* - * SmartDisk (Mitsumi) USB floppy drive - * PR: kern/50226 - */ - {T_DIRECT, SIP_MEDIA_REMOVABLE, "MITSUMI", "USB FDD", "*"}, - /*quirks*/ DA_Q_NO_SYNC_CACHE - }, #endif /* DA_OLD_QUIRKS */ { /* |