diff options
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index f5552aaaa77a..f3ae88fdf332 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
@@ -532,6 +532,7 @@ static const struct driver_info wwan_info = { | |||
532 | #define LENOVO_VENDOR_ID 0x17ef | 532 | #define LENOVO_VENDOR_ID 0x17ef |
533 | #define NVIDIA_VENDOR_ID 0x0955 | 533 | #define NVIDIA_VENDOR_ID 0x0955 |
534 | #define HP_VENDOR_ID 0x03f0 | 534 | #define HP_VENDOR_ID 0x03f0 |
535 | #define MICROSOFT_VENDOR_ID 0x045e | ||
535 | 536 | ||
536 | static const struct usb_device_id products[] = { | 537 | static const struct usb_device_id products[] = { |
537 | /* BLACKLIST !! | 538 | /* BLACKLIST !! |
@@ -761,6 +762,20 @@ static const struct usb_device_id products[] = { | |||
761 | .driver_info = 0, | 762 | .driver_info = 0, |
762 | }, | 763 | }, |
763 | 764 | ||
765 | /* Microsoft Surface 2 dock (based on Realtek RTL8152) */ | ||
766 | { | ||
767 | USB_DEVICE_AND_INTERFACE_INFO(MICROSOFT_VENDOR_ID, 0x07ab, USB_CLASS_COMM, | ||
768 | USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), | ||
769 | .driver_info = 0, | ||
770 | }, | ||
771 | |||
772 | /* Microsoft Surface 3 dock (based on Realtek RTL8153) */ | ||
773 | { | ||
774 | USB_DEVICE_AND_INTERFACE_INFO(MICROSOFT_VENDOR_ID, 0x07c6, USB_CLASS_COMM, | ||
775 | USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), | ||
776 | .driver_info = 0, | ||
777 | }, | ||
778 | |||
764 | /* WHITELIST!!! | 779 | /* WHITELIST!!! |
765 | * | 780 | * |
766 | * CDC Ether uses two interfaces, not necessarily consecutive. | 781 | * CDC Ether uses two interfaces, not necessarily consecutive. |