[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / generic / patches-2.6.32 / 822-usb_serial_option_add_more_devices.patch
1 --- a/drivers/usb/serial/option.c
2 +++ b/drivers/usb/serial/option.c
3 @@ -168,7 +168,12 @@ static int option_resume(struct usb_ser
4 #define HUAWEI_PRODUCT_K4505 0x1464
5 #define HUAWEI_PRODUCT_K3765 0x1465
6 #define HUAWEI_PRODUCT_E14AC 0x14AC
7 +#define HUAWEI_PRODUCT_K3770 0x14C9
8 +#define HUAWEI_PRODUCT_K3771 0x14CA
9 +#define HUAWEI_PRODUCT_K4510 0x14CB
10 +#define HUAWEI_PRODUCT_K4511 0x14CC
11 #define HUAWEI_PRODUCT_ETS1220 0x1803
12 +#define HUAWEI_PRODUCT_E173S 0x1C05
13
14 #define QUANTA_VENDOR_ID 0x0408
15 #define QUANTA_PRODUCT_Q101 0xEA02
16 @@ -338,6 +343,7 @@ static int option_resume(struct usb_ser
17 /* ALCATEL PRODUCTS */
18 #define ALCATEL_VENDOR_ID 0x1bbb
19 #define ALCATEL_PRODUCT_X060S 0x0000
20 +#define ALCATEL_PRODUCT_X220D 0x0017
21
22 #define PIRELLI_VENDOR_ID 0x1266
23 #define PIRELLI_PRODUCT_C100_1 0x1002
24 @@ -489,6 +495,15 @@ static struct usb_device_id option_ids[]
25 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3765, 0xff, 0xff, 0xff) },
26 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ETS1220, 0xff, 0xff, 0xff) },
27 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC, 0xff, 0xff, 0xff) },
28 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x31) },
29 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x32) },
30 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x31) },
31 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x32) },
32 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x31) },
33 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x32) },
34 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x31) },
35 + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x32) },
36 + { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173S) },
37 { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_9508) },
38 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, /* Novatel Merlin V640/XV620 */
39 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) }, /* Novatel Merlin V620/S620 */
40 @@ -883,6 +898,7 @@ static struct usb_device_id option_ids[]
41 { USB_DEVICE(ALINK_VENDOR_ID, 0xce16) },
42 { USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) },
43 { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S) },
44 + { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220D) },
45 { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) },
46 { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) },
47 { USB_DEVICE(FOUR_G_SYSTEMS_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14) },
This page took 0.040691 seconds and 5 git commands to generate.