[PATCH] Support for second revision of Ericsson F3507G WWAN card

From: Patrik Kullman
Date: Mon Feb 23 2009 - 10:34:27 EST


I noticed that my revision of the F3507G WWAN card isn't listed in
drivers/usb/serial/option.c


Patch to add it attached.
--- linux-2.6.28/drivers/usb/serial/option.c.orig 2009-02-23 16:19:53.000000000 +0100
+++ linux-2.6.28/drivers/usb/serial/option.c 2009-02-23 16:21:05.000000000 +0100
@@ -265,7 +265,8 @@

/* Ericsson products */
#define ERICSSON_VENDOR_ID 0x0bdb
-#define ERICSSON_PRODUCT_F3507G 0x1900
+#define ERICSSON_PRODUCT_F3507G_1 0x1900
+#define ERICSSON_PRODUCT_F3507G_2 0x1902

/* Pantech products */
#define PANTECH_VENDOR_ID 0x106c
@@ -475,7 +476,8 @@
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626) },
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) },
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH) },
- { USB_DEVICE(ERICSSON_VENDOR_ID, ERICSSON_PRODUCT_F3507G) },
+ { USB_DEVICE(ERICSSON_VENDOR_ID, ERICSSON_PRODUCT_F3507G_1) },
+ { USB_DEVICE(ERICSSON_VENDOR_ID, ERICSSON_PRODUCT_F3507G_2) },
{ USB_DEVICE(PANTECH_VENDOR_ID, PANTECH_PRODUCT_PC5740) },
{ USB_DEVICE(PANTECH_VENDOR_ID, PANTECH_PRODUCT_PC5750) },
{ USB_DEVICE(PANTECH_VENDOR_ID, PANTECH_PRODUCT_UM150) },