mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
USB: option.c: add ZTE 622 modem device
Please consider this small patch for the usb option-card driver. This patch adds the ZTE 622 usb modem device. Signed-off-by: Albert Pauw <albert.pauw@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
49fa09215c
commit
9ea19b82f3
@ -288,6 +288,7 @@ static int option_send_setup(struct tty_struct *tty, struct usb_serial_port *po
|
|||||||
|
|
||||||
/* ZTE PRODUCTS */
|
/* ZTE PRODUCTS */
|
||||||
#define ZTE_VENDOR_ID 0x19d2
|
#define ZTE_VENDOR_ID 0x19d2
|
||||||
|
#define ZTE_PRODUCT_MF622 0x0001
|
||||||
#define ZTE_PRODUCT_MF628 0x0015
|
#define ZTE_PRODUCT_MF628 0x0015
|
||||||
#define ZTE_PRODUCT_MF626 0x0031
|
#define ZTE_PRODUCT_MF626 0x0031
|
||||||
#define ZTE_PRODUCT_CDMA_TECH 0xfffe
|
#define ZTE_PRODUCT_CDMA_TECH 0xfffe
|
||||||
@ -510,6 +511,7 @@ static struct usb_device_id option_ids[] = {
|
|||||||
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
|
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
|
||||||
{ USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */
|
{ USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */
|
||||||
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) },
|
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) },
|
||||||
|
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF622) },
|
||||||
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626) },
|
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626) },
|
||||||
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) },
|
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) },
|
||||||
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH) },
|
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH) },
|
||||||
|
Loading…
Reference in New Issue
Block a user