Revert part of the last commit. UIPROTO_MASS_BBB was renamed to
UIPROTO_MASS_BULK _after_ the previous change was made in NetBSD.
This commit is contained in:
parent
aac1d16c93
commit
bcecc7fa17
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user