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:
msmith 2001-12-09 06:02:46 +00:00
parent 6fe4980d43
commit 1c02062f9f

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