diff options
-rw-r--r-- | drivers/usb/serial/option.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 138a7b98cda..ab5047944d1 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -484,6 +484,9 @@ static void option_instat_callback(struct urb *urb); | |||
484 | #define LG_VENDOR_ID 0x1004 | 484 | #define LG_VENDOR_ID 0x1004 |
485 | #define LG_PRODUCT_L02C 0x618f | 485 | #define LG_PRODUCT_L02C 0x618f |
486 | 486 | ||
487 | /* MediaTek products */ | ||
488 | #define MEDIATEK_VENDOR_ID 0x0e8d | ||
489 | |||
487 | /* some devices interfaces need special handling due to a number of reasons */ | 490 | /* some devices interfaces need special handling due to a number of reasons */ |
488 | enum option_blacklist_reason { | 491 | enum option_blacklist_reason { |
489 | OPTION_BLACKLIST_NONE = 0, | 492 | OPTION_BLACKLIST_NONE = 0, |
@@ -1198,6 +1201,10 @@ static const struct usb_device_id option_ids[] = { | |||
1198 | { USB_DEVICE_AND_INTERFACE_INFO(VIETTEL_VENDOR_ID, VIETTEL_PRODUCT_VT1000, 0xff, 0xff, 0xff) }, | 1201 | { USB_DEVICE_AND_INTERFACE_INFO(VIETTEL_VENDOR_ID, VIETTEL_PRODUCT_VT1000, 0xff, 0xff, 0xff) }, |
1199 | { USB_DEVICE_AND_INTERFACE_INFO(ZD_VENDOR_ID, ZD_PRODUCT_7000, 0xff, 0xff, 0xff) }, | 1202 | { USB_DEVICE_AND_INTERFACE_INFO(ZD_VENDOR_ID, ZD_PRODUCT_7000, 0xff, 0xff, 0xff) }, |
1200 | { USB_DEVICE(LG_VENDOR_ID, LG_PRODUCT_L02C) }, /* docomo L-02C modem */ | 1203 | { USB_DEVICE(LG_VENDOR_ID, LG_PRODUCT_L02C) }, /* docomo L-02C modem */ |
1204 | { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a1, 0xff, 0x00, 0x00) }, | ||
1205 | { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a1, 0xff, 0x02, 0x01) }, | ||
1206 | { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a2, 0xff, 0x00, 0x00) }, | ||
1207 | { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a2, 0xff, 0x02, 0x01) }, /* MediaTek MT6276M modem & app port */ | ||
1201 | { } /* Terminating entry */ | 1208 | { } /* Terminating entry */ |
1202 | }; | 1209 | }; |
1203 | MODULE_DEVICE_TABLE(usb, option_ids); | 1210 | MODULE_DEVICE_TABLE(usb, option_ids); |