Add Huawei Android usbid's to option driver.
[people/pmueller/ipfire-2.x.git] / src / patches / linux-2.6.32.15-option_add_huawei_android.patch
1 diff -Naur linux-2.6.32.15.org/drivers/usb/serial/option.c linux-2.6.32.15/drivers/usb/serial/option.c
2 --- linux-2.6.32.15.org/drivers/usb/serial/option.c 2010-06-01 18:56:03.000000000 +0200
3 +++ linux-2.6.32.15/drivers/usb/serial/option.c 2010-08-02 22:38:11.000000000 +0200
4 @@ -102,6 +102,7 @@
5 #define HUAWEI_PRODUCT_E600 0x1001
6 #define HUAWEI_PRODUCT_E220 0x1003
7 #define HUAWEI_PRODUCT_E220BIS 0x1004
8 +#define HUAWEI_PRODUCT_ANDROID 0x1035
9 #define HUAWEI_PRODUCT_E1401 0x1401
10 #define HUAWEI_PRODUCT_E1402 0x1402
11 #define HUAWEI_PRODUCT_E1403 0x1403
12 @@ -380,6 +381,7 @@
13 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600, 0xff, 0xff, 0xff) },
14 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220, 0xff, 0xff, 0xff) },
15 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220BIS, 0xff, 0xff, 0xff) },
16 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ANDROID, 0xff, 0xff, 0xff) },
17 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1401, 0xff, 0xff, 0xff) },
18 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1402, 0xff, 0xff, 0xff) },
19 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1403, 0xff, 0xff, 0xff) },