aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.31
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-05-15 19:17:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-05-15 19:17:31 +0000
commit43e002fe5ea68c34a5e23f26f321baf103f988c6 (patch)
treee9797e02dc0b5efb1f9c259d359ee19580ae871f /target/linux/generic/patches-2.6.31
parenta4c0645326f05e9e69e6422f0d76f2141aea16b3 (diff)
downloadupstream-43e002fe5ea68c34a5e23f26f321baf103f988c6.tar.gz
upstream-43e002fe5ea68c34a5e23f26f321baf103f988c6.tar.bz2
upstream-43e002fe5ea68c34a5e23f26f321baf103f988c6.zip
add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
SVN-Revision: 26906
Diffstat (limited to 'target/linux/generic/patches-2.6.31')
-rw-r--r--target/linux/generic/patches-2.6.31/822-usb_serial_option_add_more_devices.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.31/822-usb_serial_option_add_more_devices.patch b/target/linux/generic/patches-2.6.31/822-usb_serial_option_add_more_devices.patch
new file mode 100644
index 0000000000..e91cf62a32
--- /dev/null
+++ b/target/linux/generic/patches-2.6.31/822-usb_serial_option_add_more_devices.patch
@@ -0,0 +1,34 @@
+--- a/drivers/usb/serial/option.c
++++ b/drivers/usb/serial/option.c
+@@ -167,6 +167,7 @@ static int option_resume(struct usb_ser
+ #define HUAWEI_PRODUCT_E143E 0x143E
+ #define HUAWEI_PRODUCT_E143F 0x143F
+ #define HUAWEI_PRODUCT_E14AC 0x14AC
++#define HUAWEI_PRODUCT_E173S 0x1C05
+
+ #define QUANTA_VENDOR_ID 0x0408
+ #define QUANTA_PRODUCT_Q101 0xEA02
+@@ -332,6 +333,7 @@ static int option_resume(struct usb_ser
+ /* ALCATEL PRODUCTS */
+ #define ALCATEL_VENDOR_ID 0x1bbb
+ #define ALCATEL_PRODUCT_X060S 0x0000
++#define ALCATEL_PRODUCT_X220D 0x0017
+
+ /* Airplus products */
+ #define AIRPLUS_VENDOR_ID 0x1011
+@@ -439,6 +441,7 @@ static struct usb_device_id option_ids[]
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143E, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143F, 0xff, 0xff, 0xff) },
+ { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC) },
++ { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173S) },
+ { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_9508) },
+ { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, /* Novatel Merlin V640/XV620 */
+ { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) }, /* Novatel Merlin V620/S620 */
+@@ -639,6 +642,7 @@ static struct usb_device_id option_ids[]
+ { USB_DEVICE(ALINK_VENDOR_ID, 0xce16) },
+ { USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) },
+ { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S) },
++ { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220D) },
+ { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) },
+ { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) },
+ { USB_DEVICE(HAIER_VENDOR_ID, HAIER_PRODUCT_CE100) },