summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-21 00:34:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-21 00:34:35 +0000
commit9e4bbf3659807ce935d4b1ec72f0b76f0fc92600 (patch)
tree17b6338e813fdf6a417a066ff1d5eb023a802e73
parentdc8a654dd0393670b3673bdd5d4207b7dd8e31f1 (diff)
Trial and error gives me this tweak for the trumpion 0x1100 device.
-rw-r--r--sys/dev/usb/umass.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index b1a38c934f8..b94f5363034 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass.c,v 1.16 2002/05/07 18:29:18 nate Exp $ */
+/* $OpenBSD: umass.c,v 1.17 2002/06/21 00:34:34 art Exp $ */
/* $NetBSD: umass.c,v 1.49 2001/01/21 18:56:38 augustss Exp $ */
/*-
* Copyright (c) 1999 MAEKAWA Masahide <bishop@rr.iij4u.or.jp>,
@@ -725,6 +725,12 @@ umass_match_proto(sc, iface, dev)
return (UMATCH_VENDOR_PRODUCT);
}
+ if (vendor == USB_VENDOR_TRUMPION &&
+ product == USB_PRODUCT_TRUMPION_XXX1100) {
+ sc->proto = PROTO_ATAPI | PROTO_CBI;
+ return (UMATCH_VENDOR_PRODUCT);
+ }
+
if (vendor == USB_VENDOR_YANO &&
product == USB_PRODUCT_YANO_U640MO) {
sc->proto = PROTO_ATAPI | PROTO_CBI_I;