From cf378d808c8aa04a11c6e97c8f9f6957af3dc31a Mon Sep 17 00:00:00 2001 From: Luochongjun Date: Thu, 30 Aug 2018 17:22:28 +0800 Subject: [PATCH] add mz386 ID --- .../linux/ar71xx/patches-4.9/742-add-modem-driver.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/target/linux/ar71xx/patches-4.9/742-add-modem-driver.patch b/target/linux/ar71xx/patches-4.9/742-add-modem-driver.patch index fa00a208d5b..f3444a3d169 100644 --- a/target/linux/ar71xx/patches-4.9/742-add-modem-driver.patch +++ b/target/linux/ar71xx/patches-4.9/742-add-modem-driver.patch @@ -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) */ @@ -109,7 +109,7 @@ /* 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[] = { @@ -125,6 +125,7 @@ + { 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) }, @@ -133,7 +134,7 @@ { 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, @@ -143,7 +144,7 @@ #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) && -- 2.47.3