Re: [OpenWrt-Devel] [Patch] Support for newer Sierra UMTS cards

2008-08-31 Thread Nico
Dirk Nehring wrote:
> these cards are already included in 2.6.27, but needed in older kernel
> (2.6.25, 2.6.26). Easy patch, please apply.
>   
Applied in [12447], thanks!

--
Nico

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [Patch] Support for newer Sierra UMTS cards

2008-08-21 Thread Dirk Nehring
Hi,

these cards are already included in 2.6.27, but needed in older kernel
(2.6.25, 2.6.26). Easy patch, please apply.

Dirk
Index: target/linux/generic-2.6/patches-2.6.25/012-sierra-wireless.patch
===
--- target/linux/generic-2.6/patches-2.6.25/012-sierra-wireless.patch   
(revision 0)
+++ target/linux/generic-2.6/patches-2.6.25/012-sierra-wireless.patch   
(revision 0)
@@ -0,0 +1,23 @@
+diff -ur linux-2.6.25.12.orig/drivers/usb/serial/sierra.c 
linux-2.6.25.12/drivers/usb/serial/sierra.c
+--- linux-2.6.25.12.orig/drivers/usb/serial/sierra.c   2008-07-24 
18:14:20.0 +0200
 linux-2.6.25.12/drivers/usb/serial/sierra.c2008-08-01 
14:26:52.0 +0200
+@@ -166,14 +166,19 @@
+   { USB_DEVICE(0x1199, 0x6815) }, /* Sierra Wireless MC8775 */
+   { USB_DEVICE(0x03f0, 0x1e1d) }, /* HP hs2300 a.k.a MC8775 */
+   { USB_DEVICE(0x1199, 0x6820) }, /* Sierra Wireless AirCard 875 */
++  { USB_DEVICE(0x1199, 0x6821) }, /* Sierra Wireless AirCard 875U */
+   { USB_DEVICE(0x1199, 0x6832) }, /* Sierra Wireless MC8780*/
+   { USB_DEVICE(0x1199, 0x6833) }, /* Sierra Wireless MC8781*/
++  { USB_DEVICE(0x1199, 0x683B), .driver_info = DEVICE_1_PORT }, /* Sierra 
Wireless MC8785 Composite*/
++  { USB_DEVICE(0x1199, 0x683C), .driver_info = DEVICE_1_PORT }, /* Sierra 
Wireless MC8790 Composite*/
+   { USB_DEVICE(0x1199, 0x6850) }, /* Sierra Wireless AirCard 880 */
+   { USB_DEVICE(0x1199, 0x6851) }, /* Sierra Wireless AirCard 881 */
+   { USB_DEVICE(0x1199, 0x6852) }, /* Sierra Wireless AirCard 880 E */
+   { USB_DEVICE(0x1199, 0x6853) }, /* Sierra Wireless AirCard 881 E */
+   { USB_DEVICE(0x1199, 0x6855) }, /* Sierra Wireless AirCard 880 U */
+   { USB_DEVICE(0x1199, 0x6856) }, /* Sierra Wireless AirCard 881 U */
++  { USB_DEVICE(0x1199, 0x6859), .driver_info = DEVICE_1_PORT }, /* Sierra 
Wireless AirCard 885 E */
++  { USB_DEVICE(0x1199, 0x685A), .driver_info = DEVICE_1_PORT }, /* Sierra 
Wireless AirCard 885 E */
+ 
+   { USB_DEVICE(0x1199, 0x6468) }, /* Sierra Wireless MP3G - EVDO */
+   { USB_DEVICE(0x1199, 0x6469) }, /* Sierra Wireless MP3G - UMTS/HSPA */
Index: target/linux/generic-2.6/patches-2.6.26/012-sierra-wireless.patch
===
--- target/linux/generic-2.6/patches-2.6.26/012-sierra-wireless.patch   
(revision 0)
+++ target/linux/generic-2.6/patches-2.6.26/012-sierra-wireless.patch   
(revision 0)
@@ -0,0 +1,12 @@
+diff -ur linux-2.6.26.1.orig/drivers/usb/serial/sierra.c 
linux-2.6.26.1/drivers/usb/serial/sierra.c
+--- linux-2.6.26.1.orig/drivers/usb/serial/sierra.c2008-08-02 
00:58:24.0 +0200
 linux-2.6.26.1/drivers/usb/serial/sierra.c 2008-08-04 01:39:11.0 
+0200
+@@ -205,6 +205,7 @@
+   { USB_DEVICE(0x1199, 0x6832) }, /* Sierra Wireless MC8780*/
+   { USB_DEVICE(0x1199, 0x6833) }, /* Sierra Wireless MC8781*/
+   { USB_DEVICE(0x1199, 0x683B), .driver_info = DEVICE_1_PORT },   /* 
Sierra Wireless MC8785 Composite*/
++  { USB_DEVICE(0x1199, 0x683C), .driver_info = DEVICE_1_PORT },   /* 
Sierra Wireless MC8790 Composite*/
+   { USB_DEVICE(0x1199, 0x6850) }, /* Sierra Wireless AirCard 880 */
+   { USB_DEVICE(0x1199, 0x6851) }, /* Sierra Wireless AirCard 881 */
+   { USB_DEVICE(0x1199, 0x6852) }, /* Sierra Wireless AirCard 880 E */
+Only in linux-2.6.26.1/drivers/usb/serial: sierra.c.orig
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel