Staging: bcm: Create and initialize new device id in InterfaceInit
authorKevin McKinney <klmckinney1@gmail.com>
Wed, 12 Sep 2012 02:19:06 +0000 (22:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 16:43:45 +0000 (09:43 -0700)
This patch create and initalizes a new device
id of 0x172 as reported by Rinat Camalov
<richman1000000d@gmail.com>. In addition, a
comment is added to the potential invalid
existing device id.

Reported-by: Rinat Camalov <richman1000000d@gmail.com>
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/InterfaceInit.c
drivers/staging/bcm/InterfaceInit.h

index dfee0cef5314c9fc502e7b29eb78c4c9793cdf94..b05f5f73548ca9345e723effea1d348c08ddece6 100644 (file)
@@ -8,6 +8,7 @@ static struct usb_device_id InterfaceUsbtable[] = {
        { USB_DEVICE(BCM_USB_VENDOR_ID_ZTE, BCM_USB_PRODUCT_ID_226) },
        { USB_DEVICE(BCM_USB_VENDOR_ID_FOXCONN, BCM_USB_PRODUCT_ID_1901) },
        { USB_DEVICE(BCM_USB_VENDOR_ID_ZTE, BCM_USB_PRODUCT_ID_ZTE_TU25) },
+       { USB_DEVICE(BCM_USB_VENDOR_ID_ZTE, BCM_USB_PRODUCT_ID_ZTE_226) },
        { }
 };
 MODULE_DEVICE_TABLE(usb, InterfaceUsbtable);
index 3b358320e026168bf4a1158457d03ed88a8d8935..866924e35f9c87536fcbae289c0f82a234bbdc87 100644 (file)
@@ -11,7 +11,8 @@
 #define BCM_USB_PRODUCT_ID_SM250       0xbccd
 #define BCM_USB_PRODUCT_ID_SYM 0x15E
 #define BCM_USB_PRODUCT_ID_1901        0xe017
-#define BCM_USB_PRODUCT_ID_226 0x0132
+#define BCM_USB_PRODUCT_ID_226 0x0132 /* not sure if this is valid */
+#define BCM_USB_PRODUCT_ID_ZTE_226 0x172
 #define BCM_USB_PRODUCT_ID_ZTE_TU25    0x0007
 
 #define BCM_USB_MINOR_BASE     192