Message ID | 156362896395.30109.15607667410549474761.stgit@yokamoto-pc.rd.allied-telesis.co.jp (mailing list archive) |
---|---|
State | Mainlined |
Commit | 7e7ae38bf928c5cfa6dd6e9a2cf8b42c84a27c92 |
Headers | show |
Series | [v3] USB: serial: option: Add support for ZTE MF871A | expand |
On Sat, Jul 20, 2019 at 10:23:18PM +0900, Yoshiaki Okamoto wrote: > This patch adds support for MF871A USB modem (aka Speed USB STICK U03) > to option driver. This modem is manufactured by ZTE corporation, and > sold by KDDI. > Co-developed-by: Hiroyuki Yamamoto <hyamamo@allied-telesis.co.jp> > Signed-off-by: Hiroyuki Yamamoto <hyamamo@allied-telesis.co.jp> > Signed-off-by: Yoshiaki Okamoto <yokamoto@allied-telesis.co.jp> > --- > > Changes in v3: > - Change used macro to USB_DEVICE_AND_INTERFACE_INFO. > > Changes in v2: > - Add Co-developed-by tag. > - Move away product-id define and add short comment after the entry. Now applied, thanks. Johan
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index a0aaf0635359..071e62164478 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1548,6 +1548,7 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1428, 0xff, 0xff, 0xff), /* Telewell TW-LTE 4G v2 */ .driver_info = RSVD(2) }, { USB_DEVICE_INTERFACE_CLASS(ZTE_VENDOR_ID, 0x1476, 0xff) }, /* GosunCn ZTE WeLink ME3630 (ECM/NCM mode) */ + { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1481, 0xff, 0x00, 0x00) }, /* ZTE MF871A */ { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1533, 0xff, 0xff, 0xff) }, { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1534, 0xff, 0xff, 0xff) }, { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1535, 0xff, 0xff, 0xff) },