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 | f1c0febd726994e68788c0e6585a6d20644f8b36 (patch) | |
tree | 808bceb8b85b6bb4fcd86677c5887c9680696ec9 /target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch | |
parent | f708e805736f9ba326e4fa4d4ffe3adc05f999b7 (diff) | |
download | upstream-f1c0febd726994e68788c0e6585a6d20644f8b36.tar.gz upstream-f1c0febd726994e68788c0e6585a6d20644f8b36.tar.bz2 upstream-f1c0febd726994e68788c0e6585a6d20644f8b36.zip |
[generic] add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch | 37 |
1 files changed, 37 insertions, 0 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 new file mode 100644 index 0000000000..c0df7bb518 --- /dev/null +++ b/target/linux/generic/patches-2.6.30/822-usb_serial_option_add_more_devices.patch @@ -0,0 +1,37 @@ +--- a/drivers/usb/serial/option.c ++++ b/drivers/usb/serial/option.c +@@ -161,6 +161,7 @@ static int option_resume(struct usb_ser + #define HUAWEI_PRODUCT_E143D 0x143D + #define HUAWEI_PRODUCT_E143E 0x143E + #define HUAWEI_PRODUCT_E143F 0x143F ++#define HUAWEI_PRODUCT_E173S 0x1C05 + + #define QUANTA_VENDOR_ID 0x0408 + #define QUANTA_PRODUCT_Q101 0xEA02 +@@ -304,6 +305,10 @@ static int option_resume(struct usb_ser + #define DLINK_VENDOR_ID 0x1186 + #define DLINK_PRODUCT_DWM_652 0x3e04 + ++/* ALCATEL PRODUCTS */ ++#define ALCATEL_VENDOR_ID 0x1bbb ++#define ALCATEL_PRODUCT_X220D 0x0017 ++ + + 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[] + { 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_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[] + { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) }, + { USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) }, + { USB_DEVICE(0x1da5, 0x4515) }, /* BenQ H20 */ ++ { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220D) }, /* BenQ H20 */ + { } /* Terminating entry */ + }; + MODULE_DEVICE_TABLE(usb, option_ids); |