[x86] fix grub installation on target images, regression caused by multi-libc support
[openwrt.git] / target / linux / generic-2.4 / patches / 802-usb_serial_3g_cards.patch
1 Index: linux-2.4.35.4/drivers/usb/serial/usbserial.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/drivers/usb/serial/usbserial.c
4 +++ linux-2.4.35.4/drivers/usb/serial/usbserial.c
5 @@ -333,7 +333,7 @@ static __u16 vendor = 0x05f9;
6 static __u16 product = 0xffff;
7 static int maxSize = 0;
8
9 -static struct usb_device_id generic_device_ids[2]; /* Initially all zeroes. */
10 +static struct usb_device_id generic_device_ids[9]; /* Initially all zeroes. */
11
12 /* All of the device info needed for the Generic Serial Converter */
13 static struct usb_serial_device_type generic_device = {
14 @@ -1836,6 +1836,30 @@ static int __init usb_serial_init(void)
15 generic_device_ids[0].idVendor = vendor;
16 generic_device_ids[0].idProduct = product;
17 generic_device_ids[0].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
18 + /* Option 3G/UMTS 'Colt' */
19 + generic_device_ids[1].idVendor = 0x0af0;
20 + generic_device_ids[1].idProduct = 0x5000;
21 + generic_device_ids[1].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
22 + /* Option 3G/UMTS 'Fusion' */
23 + generic_device_ids[2].idVendor = 0x0af0;
24 + generic_device_ids[2].idProduct = 0x6000;
25 + generic_device_ids[2].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
26 + /* Option 3G/UMTS 'Fusion2' */
27 + generic_device_ids[3].idVendor = 0x0af0;
28 + generic_device_ids[3].idProduct = 0x6300;
29 + generic_device_ids[3].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
30 + /* Audiovox Aircard */
31 + generic_device_ids[4].idVendor = 0x0f3d;
32 + generic_device_ids[4].idProduct = 0x0112;
33 + generic_device_ids[4].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
34 + /* Huawei E600 */
35 + generic_device_ids[6].idVendor = 0x12d1;
36 + generic_device_ids[6].idProduct = 0x1001;
37 + generic_device_ids[6].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
38 + /* Merlin XU870 */
39 + generic_device_ids[7].idVendor = 0x1410;
40 + generic_device_ids[7].idProduct = 0x1430;
41 + generic_device_ids[7].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT;
42 /* register our generic driver with ourselves */
43 usb_serial_register (&generic_device);
44 #endif
This page took 0.038934 seconds and 5 git commands to generate.