summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Coppa <dcoppa@cvs.openbsd.org>2012-07-17 09:48:23 +0000
committerDavid Coppa <dcoppa@cvs.openbsd.org>2012-07-17 09:48:23 +0000
commit0a3671a79a2abc44b198dbc6ddbacbf213abfb31 (patch)
tree7a2c96e616fffa45fb312641d963fd873fde9853
parentad7fb352ee3c220cd289923309c059251eaf8991 (diff)
Add the Huawei Mobile E303.
From Andreas Bartelt, obsd AT bartula DOT de OK sthen@
-rw-r--r--sys/dev/usb/umsm.c3
-rw-r--r--sys/dev/usb/usbdevs.h5
-rw-r--r--sys/dev/usb/usbdevs_data.h8
3 files changed, 11 insertions, 5 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c
index e1e3c225933..298e62409c6 100644
--- a/sys/dev/usb/umsm.c
+++ b/sys/dev/usb/umsm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umsm.c,v 1.85 2012/01/14 10:26:11 sthen Exp $ */
+/* $OpenBSD: umsm.c,v 1.86 2012/07/17 09:48:22 dcoppa Exp $ */
/*
* Copyright (c) 2008 Yojiro UO <yuo@nui.org>
@@ -138,6 +138,7 @@ static const struct umsm_type umsm_devs[] = {
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E182 }, DEV_UMASS5},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 }, DEV_UMASS5},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI},
+ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E303 }, DEV_UMASS5},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W }, 0},
diff --git a/sys/dev/usb/usbdevs.h b/sys/dev/usb/usbdevs.h
index db025eb92d2..432c31f1ae1 100644
--- a/sys/dev/usb/usbdevs.h
+++ b/sys/dev/usb/usbdevs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: usbdevs.h,v 1.590 2012/07/07 17:59:44 jasper Exp $ */
+/* $OpenBSD: usbdevs.h,v 1.591 2012/07/17 09:48:22 dcoppa Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: usbdevs,v 1.580 2012/07/07 17:59:03 jasper Exp
+ * OpenBSD: usbdevs,v 1.581 2012/07/17 09:46:22 dcoppa Exp
*/
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
@@ -2040,6 +2040,7 @@
#define USB_PRODUCT_HUAWEI_K3765_INIT 0x1520 /* HUAWEI Mobile K3765 Initial */
#define USB_PRODUCT_HUAWEI_E173S 0x1c05 /* HUAWEI Mobile E173s */
#define USB_PRODUCT_HUAWEI_E173S_INIT 0x1c0b /* HUAWEI Mobile E173s Initial */
+#define USB_PRODUCT_HUAWEI_E303 0x1f01 /* HUAWEI Mobile E303 */
/* HUMAX products */
#define USB_PRODUCT_HUMAX_PVRSMART 0x138c /* PVR-SMART */
diff --git a/sys/dev/usb/usbdevs_data.h b/sys/dev/usb/usbdevs_data.h
index 78fd5fb9f5b..d5e4979868f 100644
--- a/sys/dev/usb/usbdevs_data.h
+++ b/sys/dev/usb/usbdevs_data.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: usbdevs_data.h,v 1.584 2012/07/07 17:59:45 jasper Exp $ */
+/* $OpenBSD: usbdevs_data.h,v 1.585 2012/07/17 09:48:22 dcoppa Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: usbdevs,v 1.580 2012/07/07 17:59:03 jasper Exp
+ * OpenBSD: usbdevs,v 1.581 2012/07/17 09:46:22 dcoppa Exp
*/
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
@@ -4242,6 +4242,10 @@ const struct usb_known_product usb_known_products[] = {
"HUAWEI Mobile E173s Initial",
},
{
+ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E303,
+ "HUAWEI Mobile E303",
+ },
+ {
USB_VENDOR_HUMAX, USB_PRODUCT_HUMAX_PVRSMART,
"PVR-SMART",
},