diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-06-08 19:27:21 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-06-08 19:27:21 +0000 |
commit | 1b9b7f407f713e1704f3d9399ced9280b64a57d3 (patch) | |
tree | 254f1b74b6d6e994e5232e56bef0a2cb71367495 /sys | |
parent | 172c59413440fce5133065773079de44b878cfbb (diff) | |
download | FreeBSD-src-1b9b7f407f713e1704f3d9399ced9280b64a57d3.zip FreeBSD-src-1b9b7f407f713e1704f3d9399ced9280b64a57d3.tar.gz |
Add the ID of the InSystem USB Cable (not really supported yet).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/umass.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 2bee2ab..ce8f75d 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -576,6 +576,13 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, return(UMATCH_VENDOR_PRODUCT); } + if (UGETW(dd->idVendor) == USB_VENDOR_INSYSTEM + && UGETW(dd->idProduct) == USB_PRODUCT_INSYSTEM_USBCABLE) { + sc->proto = PROTO_ATAPI | PROTO_CBI; + sc->quirks |= NO_TEST_UNIT_READY | NO_START_STOP; + return(UMATCH_VENDOR_PRODUCT); + } + if (UGETW(dd->idVendor) == USB_VENDOR_YEDATA && UGETW(dd->idProduct) == USB_PRODUCT_YEDATA_FLASHBUSTERU) { @@ -2109,7 +2116,7 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb) /* the opcodes requiring a target. These should never occur. */ if (sc == NULL) { printf("%s:%d:%d:%d:func_code 0x%04x: " - "Invalid target\n", + "Invalid target (target needed)\n", DEVNAME_SIM, cam_sim_path(umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccb->ccb_h.func_code); @@ -2127,7 +2134,7 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb) */ if (sc == NULL && ccb->ccb_h.target_id != CAM_TARGET_WILDCARD) { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:func_code 0x%04x: " - "Invalid target\n", + "Invalid target (no wildcard)\n", DEVNAME_SIM, cam_sim_path(umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccb->ccb_h.func_code)); |