summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-05-23 08:00:17 -0500
committerJohn Klug <john.klug@multitech.com>2019-05-23 13:10:32 -0500
commit0e76166ca2ac4ca51fd995a1b0f0340359b7e953 (patch)
tree2fe03c038f6d30efc1aac04bf591b4b2ef96f7b9 /recipes-kernel/linux/linux-at91-4.9.87
parent932269f9bf70f6c3d8c6d2edbfcea0e3c3a4bdc2 (diff)
downloadmeta-multitech-atmel-0e76166ca2ac4ca51fd995a1b0f0340359b7e953.tar.gz
meta-multitech-atmel-0e76166ca2ac4ca51fd995a1b0f0340359b7e953.tar.bz2
meta-multitech-atmel-0e76166ca2ac4ca51fd995a1b0f0340359b7e953.zip
Add support to option driver for Quectel EG95
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87')
-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) },