summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-linux4sam-usb-serial-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-linux4sam-usb-serial-option.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-linux4sam-usb-serial-option.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-linux4sam-usb-serial-option.patch b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-linux4sam-usb-serial-option.patch
new file mode 100644
index 0000000..209f39c
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-linux4sam-usb-serial-option.patch
@@ -0,0 +1,22 @@
+ff -Naru linux-4.9.87.orig/drivers/usb/serial/option.c linux-4.9.87/drivers/usb/serial/option.c
+--- linux-4.9.87.orig/drivers/usb/serial/option.c 2019-05-22 14:30:02.936723194 -0500
++++ linux-4.9.87/drivers/usb/serial/option.c 2019-05-22 14:35:55.268712763 -0500
+@@ -93,6 +93,9 @@
+ #define QUANTA_PRODUCT_GKE 0xEA05
+ #define QUANTA_PRODUCT_GLE 0xEA06
+
++#define QUECTEL_VENDOR_ID 0x2c7c
++#define QUECTEL_PRODUCT_ID_EG95 0x0195
++
+ #define NOVATELWIRELESS_VENDOR_ID 0x1410
+
+ /* YISO PRODUCTS */
+@@ -692,6 +695,8 @@
+ { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLE) },
+ { USB_DEVICE(QUANTA_VENDOR_ID, 0xea42),
+ .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
++ { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_ID_EG95),
++ .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1c05, USB_CLASS_COMM, 0x02, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1c1f, USB_CLASS_COMM, 0x02, 0xff) },
+ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1c23, USB_CLASS_COMM, 0x02, 0xff) },