Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Update the match routine to reflect that the dri...
details: https://anonhg.NetBSD.org/src/rev/838862954ba6
branches: trunk
changeset: 475910:838862954ba6
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Aug 29 18:56:24 1999 +0000
description:
Update the match routine to reflect that the driver actually matches
"Mass Storage/SCSI/Bulk".
diffstat:
sys/dev/usb/umass.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r cb243231e3a9 -r 838862954ba6 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c Sun Aug 29 18:55:29 1999 +0000
+++ b/sys/dev/usb/umass.c Sun Aug 29 18:56:24 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass.c,v 1.3 1999/08/29 18:13:26 thorpej Exp $ */
+/* $NetBSD: umass.c,v 1.4 1999/08/29 18:56:24 thorpej Exp $ */
/*-
* Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
@@ -106,8 +106,6 @@
#define USBD_COMMAND_FAILED USBD_INVAL /* redefine some errors for */
-#define UPROTO_MASS_ZIP 0x50 /* letter 'P' for protoype */
-
#define UMASS_SCSIID_HOST 0x00
#define UMASS_SCSIID_DEVICE 0x01
@@ -188,9 +186,8 @@
if (id
&& id->bInterfaceClass == UCLASS_MASS
&& id->bInterfaceSubClass == USUBCLASS_SCSI
- && id->bInterfaceProtocol == UPROTO_MASS_ZIP)
- /* probe the Iomega USB Zip 100 drive */
- return(UMATCH_VENDOR_IFACESUBCLASS_IFACEPROTO);
+ && id->bInterfaceProtocol == UPROTO_MASS_BULK)
+ return(UMATCH_IFACECLASS_IFACESUBCLASS_IFACEPROTO);
return(UMATCH_NONE);
}
Home |
Main Index |
Thread Index |
Old Index