Update and rename 999-add-tdtech-usb-devices.patch to 898-nradio-usb-add-modem-tdch-mt5710.patch
This commit is contained in:
parent
cc3ca5a2ac
commit
51c648be9e
@ -0,0 +1,9 @@
|
||||
--- a/drivers/usb/serial/option.c
|
||||
+++ b/drivers/usb/serial/option.c
|
||||
@@ -636,3 +636,6 @@ static void option_instat_callback(struc
|
||||
#define MEIGSMART_PRODUCT_SLM320 0x4d41
|
||||
|
||||
+/* TDTECH */
|
||||
+#define TDTECH_VENDOR_ID 0x3466
|
||||
+
|
||||
/* Device flags */
|
@ -1,24 +0,0 @@
|
||||
--- a/drivers/usb/serial/option.c
|
||||
+++ b/drivers/usb/serial/option.c
|
||||
@@ -50,6 +50,8 @@
|
||||
/* Vendor and product IDs */
|
||||
#define OPTION_VENDOR_ID 0x0AF0
|
||||
#define OPTION_PRODUCT_COLT 0x5000
|
||||
+#define TDTECH_VENDOR_ID 0x3466
|
||||
+
|
||||
static const struct usb_device_id option_ids[] = {
|
||||
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
|
||||
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
|
||||
@@ -100,6 +102,12 @@
|
||||
{ USB_DEVICE(ALINK_VENDOR_ID, 0x9000) },
|
||||
{ USB_VENDOR_AND_INTERFACE_INFO(ALINK_VENDOR_ID, 0xff, 0x01, 0x01) },
|
||||
{ USB_VENDOR_AND_INTERFACE_INFO(ALINK_VENDOR_ID, 0xff, 0x01, 0x02) },
|
||||
+ { USB_VENDOR_AND_INTERFACE_INFO(TDTECH_VENDOR_ID, 0xff, 0x06, 0x10) },
|
||||
+ { USB_VENDOR_AND_INTERFACE_INFO(TDTECH_VENDOR_ID, 0xff, 0x06, 0x12) },
|
||||
+ { USB_VENDOR_AND_INTERFACE_INFO(TDTECH_VENDOR_ID, 0xff, 0x06, 0x13) },
|
||||
+ { USB_VENDOR_AND_INTERFACE_INFO(TDTECH_VENDOR_ID, 0xff, 0x06, 0x14) },
|
||||
+ { USB_VENDOR_AND_INTERFACE_INFO(TDTECH_VENDOR_ID, 0xff, 0x06, 0x1B) },
|
||||
+ { USB_VENDOR_AND_INTERFACE_INFO(TDTECH_VENDOR_ID, 0xff, 0x06, 0x1C) },
|
||||
{ } /* Terminating entry */
|
||||
};
|
||||
MODULE_DEVICE_TABLE(usb, option_ids);
|
Loading…
x
Reference in New Issue
Block a user