]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
add mz386 ID
authorLuochongjun <luochongjun@gl-inet.com>
Thu, 30 Aug 2018 09:22:28 +0000 (17:22 +0800)
committerLuochongjun <luochongjun@gl-inet.com>
Thu, 30 Aug 2018 09:22:28 +0000 (17:22 +0800)
target/linux/ar71xx/patches-4.9/742-add-modem-driver.patch

index fa00a208d5b8b7f212f8f5595d773d8311084b79..f3444a3d1692121d02391d9910ec64dda181390c 100644 (file)
@@ -76,7 +76,7 @@
        /* 1. CDC ECM like devices match on the control interface */
        {       /* Huawei E392, E398 and possibly others sharing both device id and more... */
                USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, USB_CLASS_VENDOR_SPEC, 1, 9),
-@@ -981,7 +1027,6 @@ static const struct usb_device_id produc
+@@ -985,7 +1031,6 @@ static const struct usb_device_id produc
        {QMI_GOBI_DEVICE(0x05c6, 0x9225)},      /* Sony Gobi 2000 Modem device (N0279, VU730) */
        {QMI_GOBI_DEVICE(0x05c6, 0x9245)},      /* Samsung Gobi 2000 Modem device (VL176) */
        {QMI_GOBI_DEVICE(0x03f0, 0x251d)},      /* HP Gobi 2000 Modem device (VP412) */
  
  /* Device flags */
  
-@@ -564,6 +580,23 @@ static void option_instat_callback(struc
+@@ -564,6 +580,24 @@ static void option_instat_callback(struc
  
  
  static const struct usb_device_id option_ids[] = {
 +      { USB_DEVICE(0x2C7C, 0x0296) }, /* Quectel BG96 */
 +      { USB_DEVICE(0x2C7C, 0x0435) }, /* Quectel AG35 */
 +#endif
++      { USB_DEVICE(0x19d2, 0x0536) },/* MZ386 */
 +      { USB_DEVICE(LONGCHEER_VENDOR_ID, LONGSUNG_PRODUCT_U9300C) },
 +      { USB_DEVICE(FORGE_VENDOR_ID, FORGE_PRODUCT_SLM750) },
 +      { USB_DEVICE(NODECOM_VENDOR_ID, NODECOM_PRODUCT_NL660) },
        { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
        { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
        { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_LIGHT) },
-@@ -1972,6 +2005,9 @@ static struct usb_serial_driver option_1
+@@ -1972,6 +2006,9 @@ static struct usb_serial_driver option_1
  #ifdef CONFIG_PM
        .suspend           = usb_wwan_suspend,
        .resume            = usb_wwan_resume,
  #endif
  };
  
-@@ -2005,12 +2041,67 @@ static int option_probe(struct usb_seria
+@@ -2005,12 +2042,67 @@ static int option_probe(struct usb_seria
         * a separate module.
         */
        if (dev_desc->idVendor == cpu_to_le16(SAMSUNG_VENDOR_ID) &&