summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0031-USB-option-add-id-for-Cellient-MEN-200.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0031-USB-option-add-id-for-Cellient-MEN-200.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0031-USB-option-add-id-for-Cellient-MEN-200.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0031-USB-option-add-id-for-Cellient-MEN-200.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0031-USB-option-add-id-for-Cellient-MEN-200.patch
new file mode 100644
index 00000000..d41471fd
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.22/0031-USB-option-add-id-for-Cellient-MEN-200.patch
@@ -0,0 +1,44 @@
1From 8ca01cdb21b1e0daed013a4536ca89543f844424 Mon Sep 17 00:00:00 2001
2From: Dmitry Shmygov <shmygov@rambler.ru>
3Date: Wed, 20 Jun 2012 15:51:40 +0400
4Subject: [PATCH 31/46] USB: option: add id for Cellient MEN-200
5
6commit 1e2c4e59d2b8797973471b4a287a43eac12a0f40 upstream.
7
8Add vendor and product ID to option.c driver
9for Cellient MEN-200 EVDO Rev.B 450MHz data module.
10http://cellient.com
11
12Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>
13Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
15---
16 drivers/usb/serial/option.c | 5 +++++
17 1 file changed, 5 insertions(+)
18
19diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
20index 61d6c31..e311711c 100644
21--- a/drivers/usb/serial/option.c
22+++ b/drivers/usb/serial/option.c
23@@ -496,6 +496,10 @@ static void option_instat_callback(struct urb *urb);
24 /* MediaTek products */
25 #define MEDIATEK_VENDOR_ID 0x0e8d
26
27+/* Cellient products */
28+#define CELLIENT_VENDOR_ID 0x2692
29+#define CELLIENT_PRODUCT_MEN200 0x9005
30+
31 /* some devices interfaces need special handling due to a number of reasons */
32 enum option_blacklist_reason {
33 OPTION_BLACKLIST_NONE = 0,
34@@ -1227,6 +1231,7 @@ static const struct usb_device_id option_ids[] = {
35 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a1, 0xff, 0x02, 0x01) },
36 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a2, 0xff, 0x00, 0x00) },
37 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a2, 0xff, 0x02, 0x01) }, /* MediaTek MT6276M modem & app port */
38+ { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
39 { } /* Terminating entry */
40 };
41 MODULE_DEVICE_TABLE(usb, option_ids);
42--
431.7.10
44