Skip to content

Commit 6188a83

Browse files
Oliver Martingregkh
authored andcommitted
USB: Add vendor/product id of ZTE MF628 to option
This adds the vendor and product id (19d2:0015) of the ZTE MF628 HSDPA modem to the option driver. It still needs a mode switch command issued beforehand, this is currently handled by a userspace tool. Signed-off-by: Oliver Martin <oliver.martin@student.tuwien.ac.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent ab1666c commit 6188a83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/usb/serial/option.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ static int option_send_setup(struct tty_struct *tty, struct usb_serial_port *po
214214
#define TELIT_VENDOR_ID 0x1bc7
215215
#define TELIT_PRODUCT_UC864E 0x1003
216216

217+
/* ZTE PRODUCTS */
218+
#define ZTE_VENDOR_ID 0x19d2
219+
#define ZTE_PRODUCT_MF628 0x0015
220+
217221
static struct usb_device_id option_ids[] = {
218222
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
219223
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
@@ -340,6 +344,7 @@ static struct usb_device_id option_ids[] = {
340344
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
341345
{ USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */
342346
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) },
347+
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) },
343348
{ } /* Terminating entry */
344349
};
345350
MODULE_DEVICE_TABLE(usb, option_ids);

0 commit comments

Comments
 (0)