diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2001-12-09 06:02:46 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2001-12-09 06:02:46 +0000 |
| commit | ffb6d5ad8fb57b85b3c849dbb8f67c8139369671 (patch) | |
| tree | 2294750a2feea141aaf9c5f6d8c881316fb4923d /sys | |
| parent | 66a11b9fb1208a4c4e0cdc76ace84334b70d5ab1 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/usb/umass.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index bd3aaa122e5d..185387c39c2c 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -685,7 +685,7 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, */ sc->quirks |= WRONG_CSWSIG; } - + switch (id->bInterfaceSubClass) { case USUBCLASS_SCSI: sc->proto |= PROTO_SCSI; @@ -736,6 +736,16 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, return(UMATCH_NONE); } + if (UGETW(dd->idVendor) == USB_VENDOR_SCANLOGIC + && UGETW(dd->idProduct) == 0x0002) { + /* ScanLogic SL11R IDE adapter claims to support + * SCSI, but really needs UFI. + * Note also that these devices need firmware > 0.71 + */ + sc->proto &= ~PROTO_SCSI; + sc->proto |= PROTO_UFI; + } + return(UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO); } |
