diff options
author | Travis Kemen <thepeople@openwrt.org> | 2008-07-21 20:36:16 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2008-07-21 20:36:16 +0000 |
commit | 3b0936087a3f4361e3b0d4485762e267b8fd6796 (patch) | |
tree | d7c6c773837a1051c4ce26acdfa80d7f4e3502bc /target/linux/generic-2.4 | |
parent | 17b27ff0a3ebd13ce98dc1934b137ce285afd2d1 (diff) | |
download | upstream-3b0936087a3f4361e3b0d4485762e267b8fd6796.tar.gz upstream-3b0936087a3f4361e3b0d4485762e267b8fd6796.tar.bz2 upstream-3b0936087a3f4361e3b0d4485762e267b8fd6796.zip |
This series of patches closes the support gap on one of the explicitly
supported platforms (WRT54G3G) by adding direct support for the Sierra
Wireless 3G modems.
Signed-off-by: RB <aoz.syn@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11898 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.4')
-rw-r--r-- | target/linux/generic-2.4/patches/802-usb_serial_3g_cards.patch | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/generic-2.4/patches/802-usb_serial_3g_cards.patch b/target/linux/generic-2.4/patches/802-usb_serial_3g_cards.patch index ad00693fcc..24c6888de2 100644 --- a/target/linux/generic-2.4/patches/802-usb_serial_3g_cards.patch +++ b/target/linux/generic-2.4/patches/802-usb_serial_3g_cards.patch @@ -7,11 +7,11 @@ Index: linux-2.4.35.4/drivers/usb/serial/usbserial.c static int maxSize = 0; -static struct usb_device_id generic_device_ids[2]; /* Initially all zeroes. */ -+static struct usb_device_id generic_device_ids[10]; /* Initially all zeroes. */ ++static struct usb_device_id generic_device_ids[9]; /* Initially all zeroes. */ /* All of the device info needed for the Generic Serial Converter */ static struct usb_serial_device_type generic_device = { -@@ -1836,6 +1836,34 @@ static int __init usb_serial_init(void) +@@ -1836,6 +1836,30 @@ static int __init usb_serial_init(void) generic_device_ids[0].idVendor = vendor; generic_device_ids[0].idProduct = product; generic_device_ids[0].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT; @@ -31,10 +31,6 @@ Index: linux-2.4.35.4/drivers/usb/serial/usbserial.c + generic_device_ids[4].idVendor = 0x0f3d; + generic_device_ids[4].idProduct = 0x0112; + generic_device_ids[4].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT; -+ /* Sierra Wireless AirCard 875 */ -+ generic_device_ids[5].idVendor = 0x1199; -+ generic_device_ids[5].idProduct = 0x6820; -+ generic_device_ids[5].match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT; + /* Huawei E600 */ + generic_device_ids[6].idVendor = 0x12d1; + generic_device_ids[6].idProduct = 0x1001; |