[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / generic / patches-2.6.36 / 822-usb_serial_option_add_more_devices.patch
1 --- a/drivers/usb/serial/option.c
2 +++ b/drivers/usb/serial/option.c
3 @@ -148,7 +148,12 @@ static void option_instat_callback(struc
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 @@ -344,6 +349,7 @@ static void option_instat_callback(struc
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 @@ -522,6 +528,15 @@ static const struct usb_device_id option
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(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) },
38 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) },
39 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V740) },
40 @@ -925,6 +940,7 @@ static const struct usb_device_id option
41 { USB_DEVICE(ALINK_VENDOR_ID, 0x9000) },
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(LONGCHEER_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14),
This page took 0.048748 seconds and 5 git commands to generate.