summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umsm.c
diff options
context:
space:
mode:
authorFelix Kronlage <fkr@cvs.openbsd.org>2010-06-15 09:43:28 +0000
committerFelix Kronlage <fkr@cvs.openbsd.org>2010-06-15 09:43:28 +0000
commitbfb81df74dd2ca5e81b9f42a6f846bf0d18bb188 (patch)
tree1ae04f966f1c18b467cd261be5da0cc4c493da5f /sys/dev/usb/umsm.c
parent7e569d6dd24752e7b851f29f19c11d14bf358ccb (diff)
various Huawei 3g devices share a usb id, some of them need DEV_UMASS5 for proper
initialization, old ones still work with DEV_UMASS5 as well. This enables a whole bunch of newer huawei devices to work. Also reported on misc@ by David Zeillinger. discussed with jsg@ and mpf@ ok mpf@
Diffstat (limited to 'sys/dev/usb/umsm.c')
-rw-r--r--sys/dev/usb/umsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c
index 6f4c96b4bfb..30cebdd899a 100644
--- a/sys/dev/usb/umsm.c
+++ b/sys/dev/usb/umsm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umsm.c,v 1.64 2010/06/14 13:07:01 fkr Exp $ */
+/* $OpenBSD: umsm.c,v 1.65 2010/06/15 09:43:27 fkr Exp $ */
/*
* Copyright (c) 2008 Yojiro UO <yuo@nui.org>
@@ -128,7 +128,7 @@ static const struct umsm_type umsm_devs[] = {
{{ USB_VENDOR_DELL, USB_PRODUCT_DELL_U740 }, 0},
{{ USB_VENDOR_DELL, USB_PRODUCT_DELL_W5500 }, 0},
- {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E161 }, DEV_UMASS1},
+ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E161 }, DEV_UMASS5},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E180 }, DEV_HUAWEI},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI},