Message ID | 20221111035631.7723-1-duke_xinanwen@163.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | USB: serial: option: add Quectel EM05-G modem | expand |
On Fri, Nov 11, 2022 at 11:56:31AM +0800, Duke Xin wrote: > The EM05-G modem has 2 USB configurations that are configurable via the AT > command AT+QCFG="usbnet",[ 0 | 2 ] which make the modem enumerate with > the following interfaces, respectively: The commit message (including Subject) should not be indented like this. > Signed-off-by: Duke Xin <duke_xinanwen@163.com> > Cc: stable@vger.kernel.org > Signed-off-by: Johan Hovold <johan@kernel.org> And I certainly have not signed-off on this yet. You must not add SoB for anyone but yourself. Please review the process documentation for what a SoB imply and how it is used, and try again. > Signed-off-by: Duke Xin <duke_xinanwen@163.com> Johan
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 37257a52287d..ec96872e3e5b 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -253,6 +253,7 @@ static void option_instat_callback(struct urb *urb); #define QUECTEL_PRODUCT_BG96 0x0296 #define QUECTEL_PRODUCT_EP06 0x0306 #define QUECTEL_PRODUCT_EM05G 0x030a +#define QUECTEL_PRODUCT_EM05G_SG 0x0311 #define QUECTEL_PRODUCT_EM060K 0x030b #define QUECTEL_PRODUCT_EM12 0x0512 #define QUECTEL_PRODUCT_RM500Q 0x0800 @@ -1151,6 +1152,8 @@ static const struct usb_device_id option_ids[] = { { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EP06, 0xff, 0, 0) }, { USB_DEVICE_INTERFACE_CLASS(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM05G, 0xff), .driver_info = RSVD(6) | ZLP }, + { USB_DEVICE_INTERFACE_CLASS(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM05G_SG, 0xff),/* Quectel EM05G 4G LTE,Smart Gateway*/ + .driver_info = RSVD(6) | ZLP }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM060K, 0xff, 0x00, 0x40) }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM060K, 0xff, 0xff, 0x30) }, { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EM060K, 0xff, 0xff, 0x40) },