summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.30
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
commitce5e1abbb778411d9f6836d2b93ad4a57ba983e1 (patch)
treefb19f6677004cc17801f1d3f6e3eb99f1a35677b /target/linux/generic/patches-2.6.30
parent5e5416a128b94fc18c8a112d538d2bb2c644d317 (diff)
downloadmtk-20170518-ce5e1abbb778411d9f6836d2b93ad4a57ba983e1.zip
mtk-20170518-ce5e1abbb778411d9f6836d2b93ad4a57ba983e1.tar.gz
mtk-20170518-ce5e1abbb778411d9f6836d2b93ad4a57ba983e1.tar.bz2
add IDs for Huawai K3770, K3771, K4510 and K4511 to option driver
SVN-Revision: 28376
Diffstat (limited to 'target/linux/generic/patches-2.6.30')
-rw-r--r--target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch26
1 files changed, 23 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch b/target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch
index e6acd03..e169fde 100644
--- a/target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch
+++ b/target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch
@@ -8,7 +8,18 @@
#define QUANTA_VENDOR_ID 0x0408
#define QUANTA_PRODUCT_Q101 0xEA02
-@@ -304,6 +305,10 @@ static int option_resume(struct usb_ser
+@@ -179,6 +180,10 @@ static int option_resume(struct usb_ser
+ /* MERLIN EVDO PRODUCTS */
+ #define NOVATELWIRELESS_PRODUCT_V640 0x1100
+ #define NOVATELWIRELESS_PRODUCT_V620 0x1110
++#define HUAWEI_PRODUCT_K3770 0x14C9
++#define HUAWEI_PRODUCT_K3771 0x14CA
++#define HUAWEI_PRODUCT_K4510 0x14CB
++#define HUAWEI_PRODUCT_K4511 0x14CC
+ #define NOVATELWIRELESS_PRODUCT_V740 0x1120
+ #define NOVATELWIRELESS_PRODUCT_V720 0x1130
+
+@@ -304,6 +309,10 @@ static int option_resume(struct usb_ser
#define DLINK_VENDOR_ID 0x1186
#define DLINK_PRODUCT_DWM_652 0x3e04
@@ -19,15 +30,24 @@
static struct usb_device_id option_ids[] = {
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
-@@ -402,6 +407,7 @@ static struct usb_device_id option_ids[]
+@@ -401,7 +410,16 @@ 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_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 */
-@@ -523,6 +529,7 @@ static struct usb_device_id option_ids[]
+@@ -523,6 +541,7 @@ static struct usb_device_id option_ids[]
{ USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) },
{ USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) },
{ USB_DEVICE(0x1da5, 0x4515) }, /* BenQ H20 */