The ScanLogic SL11R-IDE claims to be SCSI-compatible, but actually requires

the UFI command set.  Even with this patch, it's incredibly slow on my
laptop, but at least now it works.

Note that the drive is reported to CAM with the vendor and device IDs from
the device itself, forcing the user to patch the da(4) quirk table
manually.
This commit is contained in:
Mike Smith 2001-12-09 06:02:46 +00:00
parent 66a11b9fb1
commit ffb6d5ad8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87548

View File

@ -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);
}