[PATCH] option.c: Support QUALCOMM iCON 210

From: Hanno BÃck
Date: Sat Jun 27 2009 - 10:59:27 EST


Hi,

Attached is a patch for option.c to support the QUALCOMM HSDPA-Stick iCON 210.

There was an earlier patch (http://patchwork.kernel.org/patch/29709/) that
wasn't applied.

I was a bit unsure how to handle it as it contians not the known qualcomm
vendor id. Maybe it's from some third-party vendor, though it's unknown in
usb.ids.
I've named the variable QUALCOMM_ICON_VENDOR_ID, hope this is ok, else give me
feedback how to handle that.

Please apply. CC me on all answers, as I'm not subscribed to the mailing
lists.

cu,

--
Hanno BÃck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: hanno@xxxxxxxxx

http://schokokeks.org - professional webhosting
--- linux-2.6.30-crap/drivers/usb/serial/option.c 2009-06-10 05:05:27.000000000 +0200
+++ linux-2.6.30/drivers/usb/serial/option.c 2009-06-27 14:13:56.000000000 +0200
@@ -285,6 +285,9 @@

#define QUALCOMM_VENDOR_ID 0x05C6

+#define QUALCOMM_ICON_VENDOR_ID 0x1E0E
+#define QUALCOMM_ICON_PRODUCT_210 0x9000
+
#define MAXON_VENDOR_ID 0x16d8

#define TELIT_VENDOR_ID 0x1bc7
@@ -513,6 +516,7 @@
{ USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_PRODUCT_KPC680) },
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6000)}, /* ZTE AC8700 */
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
+ { USB_DEVICE(QUALCOMM_ICON_VENDOR_ID, QUALCOMM_ICON_PRODUCT_210)}, /* Qualcomm iCON 210 */
{ USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) },
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF622) },

Attachment: signature.asc
Description: This is a digitally signed message part.