From bfb81df74dd2ca5e81b9f42a6f846bf0d18bb188 Mon Sep 17 00:00:00 2001 From: Felix Kronlage Date: Tue, 15 Jun 2010 09:43:28 +0000 Subject: 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@ --- sys/dev/usb/umsm.c | 4 ++-- 1 file 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 @@ -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}, -- cgit v1.2.3