diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-05-15 19:17:31 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-05-15 19:17:31 +0000 |
commit | 43e002fe5ea68c34a5e23f26f321baf103f988c6 (patch) | |
tree | e9797e02dc0b5efb1f9c259d359ee19580ae871f /target/linux/generic/patches-2.6.38 | |
parent | a4c0645326f05e9e69e6422f0d76f2141aea16b3 (diff) | |
download | mtk-20170518-43e002fe5ea68c34a5e23f26f321baf103f988c6.zip mtk-20170518-43e002fe5ea68c34a5e23f26f321baf103f988c6.tar.gz mtk-20170518-43e002fe5ea68c34a5e23f26f321baf103f988c6.tar.bz2 |
add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
SVN-Revision: 26906
Diffstat (limited to 'target/linux/generic/patches-2.6.38')
-rw-r--r-- | target/linux/generic/patches-2.6.38/822-usb_serial_option_add_more_devices.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.38/822-usb_serial_option_add_more_devices.patch b/target/linux/generic/patches-2.6.38/822-usb_serial_option_add_more_devices.patch new file mode 100644 index 0000000..c7a2fbf --- /dev/null +++ b/target/linux/generic/patches-2.6.38/822-usb_serial_option_add_more_devices.patch @@ -0,0 +1,34 @@ +--- a/drivers/usb/serial/option.c ++++ b/drivers/usb/serial/option.c +@@ -149,6 +149,7 @@ static void option_instat_callback(struc + #define HUAWEI_PRODUCT_K3765 0x1465 + #define HUAWEI_PRODUCT_E14AC 0x14AC + #define HUAWEI_PRODUCT_ETS1220 0x1803 ++#define HUAWEI_PRODUCT_E173S 0x1C05 + + #define QUANTA_VENDOR_ID 0x0408 + #define QUANTA_PRODUCT_Q101 0xEA02 +@@ -344,6 +345,7 @@ static void option_instat_callback(struc + /* ALCATEL PRODUCTS */ + #define ALCATEL_VENDOR_ID 0x1bbb + #define ALCATEL_PRODUCT_X060S 0x0000 ++#define ALCATEL_PRODUCT_X220D 0x0017 + + #define PIRELLI_VENDOR_ID 0x1266 + #define PIRELLI_PRODUCT_C100_1 0x1002 +@@ -528,6 +530,7 @@ static const struct usb_device_id option + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3765, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ETS1220, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC, 0xff, 0xff, 0xff) }, ++ { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173S) }, + { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, + { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) }, + { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V740) }, +@@ -931,6 +934,7 @@ static const struct usb_device_id option + { USB_DEVICE(ALINK_VENDOR_ID, 0x9000) }, + { 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(LONGCHEER_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14), |