From b863d4ca772052c8ac08049108f2d82bab852066 Mon Sep 17 00:00:00 2001 From: David Coppa Date: Thu, 20 Oct 2011 10:44:40 +0000 Subject: Add Alcatel One Touch X210/X220 (another rebadged TCT Mobile modem) ok sthen@, jsg@ --- sys/dev/usb/umsm.c | 3 ++- sys/dev/usb/usbdevs.h | 5 +++-- sys/dev/usb/usbdevs_data.h | 8 ++++++-- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'sys/dev/usb') 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 @@ -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 $ */ @@ -9117,6 +9117,10 @@ const struct usb_known_product usb_known_products[] = { USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMSM, "Modem mode", }, + { + USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMSM_2, + "Modem mode", + }, { USB_VENDOR_TCTMOBILE, USB_PRODUCT_TCTMOBILE_UMASS, "Storage mode", -- cgit v1.2.3