diff options
-rw-r--r-- | sys/dev/usb/umass.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/usb.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index e0d303a..e17fc50 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -719,10 +719,10 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface, sc->proto |= PROTO_CBI; #endif break; - case UIPROTO_MASS_BULK: + case UIPROTO_MASS_BBB: sc->proto |= PROTO_BBB; break; - case UIPROTO_MASS_BULK_P: + case UIPROTO_MASS_BBB_P: sc->drive = ZIP_100; sc->proto |= PROTO_BBB; sc->transfer_speed = UMASS_ZIP100_TRANSFER_SPEED; diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index b61bc32..6b6ee31 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -384,8 +384,8 @@ typedef struct { #define UISUBCLASS_SCSI 6 #define UIPROTO_MASS_CBI_I 0 #define UIPROTO_MASS_CBI 1 -#define UIPROTO_MASS_BULK 2 -#define UIPROTO_MASS_BULK_P 80 /* 'P' for the Iomega Zip drive */ +#define UIPROTO_MASS_BBB 2 +#define UIPROTO_MASS_BBB_P 80 /* 'P' for the Iomega Zip drive */ #define UICLASS_HUB 0x09 #define UISUBCLASS_HUB 0 |