summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Coppa <dcoppa@cvs.openbsd.org>2011-10-20 10:44:40 +0000
committerDavid Coppa <dcoppa@cvs.openbsd.org>2011-10-20 10:44:40 +0000
commitb863d4ca772052c8ac08049108f2d82bab852066 (patch)
tree55b8b142e3be6db6a2ce925a37248098e0ef5022 /sys/dev
parentb7ba8a24d422b1fc9dba687ead6bb27eb4989342 (diff)
Add Alcatel One Touch X210/X220 (another rebadged TCT Mobile modem)
ok sthen@, jsg@
Diffstat (limited to 'sys/dev')
-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 f1c603bda9b..c943b071f3a 100644
--- a/sys/dev/usb/umsm.c
+++ b/sys/dev/usb/umsm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umsm.c,v 1.79 2011/07/22 11:37:09 dcoppa Exp $ */
+/* $OpenBSD: umsm.c,v 1.80 2011/10/20 10:44:39 dcoppa Exp $ */
/*
* Copyright (c) 2008 Yojiro UO <yuo@nui.org>
@@ -238,6 +238,7 @@ static const struct umsm_type umsm_devs[] = {
{{ USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMASS }, DEV_UMASS3},
{{ USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMSM }, 0},
+ {{ USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMSM_2 }, 0},
{{ USB_VENDOR_TOSHIBA, USB_PRODUCT_TOSHIBA_HSDPA }, 0},
diff --git a/sys/dev/usb/usbdevs.h b/sys/dev/usb/usbdevs.h
index 987afb01b0f..814039020a1 100644
--- a/sys/dev/usb/usbdevs.h
+++ b/sys/dev/usb/usbdevs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: usbdevs.h,v 1.568 2011/10/07 06:02:19 ckuethe Exp $ */
+/* $OpenBSD: usbdevs.h,v 1.569 2011/10/20 10:44:39 dcoppa Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: usbdevs,v 1.558 2011/10/07 06:01:49 ckuethe Exp
+ * OpenBSD: usbdevs,v 1.559 2011/10/20 10:42:05 dcoppa Exp
*/
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
@@ -3650,6 +3650,7 @@
/* TCT Mobile products */
#define USB_PRODUCT_TCTMOBILE_UMSM 0x0000 /* Modem mode */
+#define USB_PRODUCT_TCTMOBILE_UMSM_2 0x0017 /* Modem mode */
#define USB_PRODUCT_TCTMOBILE_UMASS 0xf000 /* Storage mode */
/* Tangtop products */
diff --git a/sys/dev/usb/usbdevs_data.h b/sys/dev/usb/usbdevs_data.h
index 0cf6d35a317..de8deefda85 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.562 2011/10/07 06:02:19 ckuethe Exp $ */
+/* $OpenBSD: usbdevs_data.h,v 1.563 2011/10/20 10:44:39 dcoppa Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * OpenBSD: usbdevs,v 1.558 2011/10/07 06:01:49 ckuethe Exp
+ * OpenBSD: usbdevs,v 1.559 2011/10/20 10:42:05 dcoppa Exp
*/
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
@@ -9118,6 +9118,10 @@ const struct usb_known_product usb_known_products[] = {
"Modem mode",
},
{
+ USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMSM_2,
+ "Modem mode",
+ },
+ {
USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMASS,
"Storage mode",
},