Commit e66fc1fba248738d32f3b64508f9ef1176d9e767
Committed by
Greg Kroah-Hartman
1 parent
5c1eb3857a
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
Staging: bcm: Create and initialize new device id in InterfaceInit
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>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
drivers/staging/bcm/InterfaceInit.c
... | ... | @@ -8,6 +8,7 @@ |
8 | 8 | { USB_DEVICE(BCM_USB_VENDOR_ID_ZTE, BCM_USB_PRODUCT_ID_226) }, |
9 | 9 | { USB_DEVICE(BCM_USB_VENDOR_ID_FOXCONN, BCM_USB_PRODUCT_ID_1901) }, |
10 | 10 | { USB_DEVICE(BCM_USB_VENDOR_ID_ZTE, BCM_USB_PRODUCT_ID_ZTE_TU25) }, |
11 | + { USB_DEVICE(BCM_USB_VENDOR_ID_ZTE, BCM_USB_PRODUCT_ID_ZTE_226) }, | |
11 | 12 | { } |
12 | 13 | }; |
13 | 14 | MODULE_DEVICE_TABLE(usb, InterfaceUsbtable); |
drivers/staging/bcm/InterfaceInit.h
... | ... | @@ -11,7 +11,8 @@ |
11 | 11 | #define BCM_USB_PRODUCT_ID_SM250 0xbccd |
12 | 12 | #define BCM_USB_PRODUCT_ID_SYM 0x15E |
13 | 13 | #define BCM_USB_PRODUCT_ID_1901 0xe017 |
14 | -#define BCM_USB_PRODUCT_ID_226 0x0132 | |
14 | +#define BCM_USB_PRODUCT_ID_226 0x0132 /* not sure if this is valid */ | |
15 | +#define BCM_USB_PRODUCT_ID_ZTE_226 0x172 | |
15 | 16 | #define BCM_USB_PRODUCT_ID_ZTE_TU25 0x0007 |
16 | 17 | |
17 | 18 | #define BCM_USB_MINOR_BASE 192 |