[PATCH] ZTEAC8710 Support with Device ID 0xffff

From: Mahesh Kuruganti
Date: Tue Apr 13 2010 - 06:33:17 EST


Here is a patch in the correct format compiled against
Linux-2.6.34-rc3.Also I tested it and it compiled with no problem and
I am using it now as i type.

PATCH TO EXTEND SUPPORT TO AC8710 WITH 0xFFFF Product ID.


--- drivers/usb/serial/option.c.orig    2010-04-12 21:44:55.902548876 +0530
+++ drivers/usb/serial/option.c    2010-04-12 21:51:47.302549297 +0530
@@ -304,6 +304,8 @@ static int  option_resume(struct usb_ser
 #define ZTE_PRODUCT_CDMA_TECH            0xfffe
 #define ZTE_PRODUCT_AC8710            0xfff1
 #define ZTE_PRODUCT_AC2726            0xfff5
+//There seems to be an Alternate Device ID for the AC8710 supplied in India.
+#define ZTE_PRODUCT_AC8710T            0xffff

 #define BENQ_VENDOR_ID                0x04a5
 #define BENQ_PRODUCT_H10            0x4068
@@ -677,6 +679,7 @@ static const struct usb_device_id option
     { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0141, 0xff, 0xff, 0xff) },
     { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID,
ZTE_PRODUCT_CDMA_TECH, 0xff, 0xff, 0xff) },
     { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID,
ZTE_PRODUCT_AC8710, 0xff, 0xff, 0xff) },
+    { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID,
ZTE_PRODUCT_AC8710T, 0xff, 0xff, 0xff) },
     { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID,
ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) },
     { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) },
     { USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) },

Signed-off-by: Mahesh Kuruganti <maheshkuruganti@xxxxxxxxx>




--
Mahesh Kuruganti
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/