diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-01-02 18:36:46 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-01-02 18:36:46 +0000 |
| commit | 0b4a1071456b6109a482a402d54277cb2dacae1e (patch) | |
| tree | 6346e3245a05609a53e073a9f7ba8f057a199584 /sys/dev | |
| parent | 5440b9801c74399fd0d35726a0d791353d2f234c (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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 e0d303a7d6cc..e17fc50a2003 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 b61bc3265e10..6b6ee31b6354 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 |
