diff options
author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-26 01:01:01 +0000 |
---|---|---|
committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-26 01:01:01 +0000 |
commit | 9d6eda11bcc860fd6263e144d50aea6a355e8b20 (patch) | |
tree | e2a356818eb436096519c9fc1f40f641b819c910 /sys | |
parent | 4c2629aec87eaaf665a8ebe4cf6d745d89d6bd4e (diff) | |
download | src-9d6eda11bcc860fd6263e144d50aea6a355e8b20.tar.gz src-9d6eda11bcc860fd6263e144d50aea6a355e8b20.zip |
Remove the preliminary support for ATAPI. It does not work and breaks
(physically) IBM Microdrives.
Notes
Notes:
svn path=/head/; revision=63863
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/umass.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 50276f1f39bf..9aa7595c239e 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -565,6 +565,8 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, dd = usbd_get_device_descriptor(udev); +#if 0 + /* XXX ATAPI support is untested. Don't use it for the moment */ if (UGETW(dd->idVendor) == USB_VENDOR_SHUTTLE && UGETW(dd->idProduct) == USB_PRODUCT_SHUTTLE_EUSB) { sc->drive = SHUTTLE_EUSB; @@ -584,6 +586,7 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, sc->quirks |= NO_TEST_UNIT_READY | NO_START_STOP; return(UMATCH_VENDOR_PRODUCT); } +#endif if (UGETW(dd->idVendor) == USB_VENDOR_YEDATA && UGETW(dd->idProduct) == USB_PRODUCT_YEDATA_FLASHBUSTERU) { @@ -627,8 +630,11 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, break; case USUBCLASS_SFF8020I: case USUBCLASS_SFF8070I: +#if 0 + /* XXX ATAPI support is untested. Don't use it for the moment */ sc->proto |= PROTO_ATAPI; break; +#endif default: DPRINTF(UDMASS_GEN, ("%s: Unsupported command protocol %d\n", USBDEVNAME(sc->sc_dev), id->bInterfaceSubClass)); |