aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.31
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-06 18:23:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-06 18:23:16 +0000
commit4340448b9ca5af157082722a7b4ee5cce8c6d08a (patch)
tree11a5d25e701d04710e6297bcdc649068ea6d44d3 /target/linux/generic/patches-2.6.31
parent7bb2a3145ae5ca04c7860df87a2fb68beed5551f (diff)
downloadupstream-4340448b9ca5af157082722a7b4ee5cce8c6d08a.tar.gz
upstream-4340448b9ca5af157082722a7b4ee5cce8c6d08a.tar.bz2
upstream-4340448b9ca5af157082722a7b4ee5cce8c6d08a.zip
[generic] add IDs for Huawai K3770, K3771, K4510 and K4511 to option driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28376 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch22
1 files changed, 18 insertions, 4 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
index e91cf62a32..1114c08981 100644
--- 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
@@ -1,14 +1,18 @@
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
-@@ -167,6 +167,7 @@ static int option_resume(struct usb_ser
+@@ -167,6 +167,11 @@ 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_K3770 0x14C9
++#define HUAWEI_PRODUCT_K3771 0x14CA
++#define HUAWEI_PRODUCT_K4510 0x14CB
++#define HUAWEI_PRODUCT_K4511 0x14CC
+#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
+@@ -332,6 +337,7 @@ static int option_resume(struct usb_ser
/* ALCATEL PRODUCTS */
#define ALCATEL_VENDOR_ID 0x1bbb
#define ALCATEL_PRODUCT_X060S 0x0000
@@ -16,15 +20,25 @@
/* Airplus products */
#define AIRPLUS_VENDOR_ID 0x1011
-@@ -439,6 +441,7 @@ static struct usb_device_id option_ids[]
+@@ -437,8 +443,17 @@ static struct usb_device_id option_ids[]
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143C, 0xff, 0xff, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143D, 0xff, 0xff, 0xff) },
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143E, 0xff, 0xff, 0xff) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x31) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x32) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x31) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x32) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x31) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x32) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x31) },
++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x32) },
{ 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[]
+@@ -639,6 +654,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) },