Skip to content

Commit c27a204

Browse files
Marc Paynedavem330
authored andcommitted
r8152: support additional Microsoft Surface Ethernet Adapter variant
Device id 0927 is the RTL8153B-based component of the 'Surface USB-C to Ethernet and USB Adapter' and may be used as a component of other devices in future. Tested and working with the r8152 driver. Update the cdc_ether blacklist due to the RTL8153 'network jam on suspend' issue which this device will cause (personally confirmed). Signed-off-by: Marc Payne <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 12555a2 commit c27a204

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

drivers/net/usb/cdc_ether.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,14 +815,21 @@ static const struct usb_device_id products[] = {
815815
.driver_info = 0,
816816
},
817817

818-
/* Microsoft Surface 3 dock (based on Realtek RTL8153) */
818+
/* Microsoft Surface Ethernet Adapter (based on Realtek RTL8153) */
819819
{
820820
USB_DEVICE_AND_INTERFACE_INFO(MICROSOFT_VENDOR_ID, 0x07c6, USB_CLASS_COMM,
821821
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
822822
.driver_info = 0,
823823
},
824824

825-
/* TP-LINK UE300 USB 3.0 Ethernet Adapters (based on Realtek RTL8153) */
825+
/* Microsoft Surface Ethernet Adapter (based on Realtek RTL8153B) */
826+
{
827+
USB_DEVICE_AND_INTERFACE_INFO(MICROSOFT_VENDOR_ID, 0x0927, USB_CLASS_COMM,
828+
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
829+
.driver_info = 0,
830+
},
831+
832+
/* TP-LINK UE300 USB 3.0 Ethernet Adapters (based on Realtek RTL8153) */
826833
{
827834
USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID, 0x0601, USB_CLASS_COMM,
828835
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),

drivers/net/usb/r8152.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6880,6 +6880,7 @@ static const struct usb_device_id rtl8152_table[] = {
68806880
{REALTEK_USB_DEVICE(VENDOR_ID_REALTEK, 0x8153)},
68816881
{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x07ab)},
68826882
{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x07c6)},
6883+
{REALTEK_USB_DEVICE(VENDOR_ID_MICROSOFT, 0x0927)},
68836884
{REALTEK_USB_DEVICE(VENDOR_ID_SAMSUNG, 0xa101)},
68846885
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x304f)},
68856886
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x3062)},

0 commit comments

Comments
 (0)