Skip to content

Commit e26c258

Browse files
André Apitzschdavem330
authored andcommitted
r8152: Add MAC passthrough support for Lenovo Travel Hub
The Lenovo USB-C Travel Hub supports MAC passthrough. Signed-off-by: André Apitzsch <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5854a09 commit e26c258

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/usb/r8152.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ enum rtl8152_flags {
770770
RX_EPROTO,
771771
};
772772

773+
#define DEVICE_ID_LENOVO_USB_C_TRAVEL_HUB 0x721e
773774
#define DEVICE_ID_THINKPAD_ONELINK_PLUS_DOCK 0x3054
774775
#define DEVICE_ID_THINKPAD_THUNDERBOLT3_DOCK_GEN2 0x3082
775776
#define DEVICE_ID_THINKPAD_USB_C_DONGLE 0x720c
@@ -9586,6 +9587,7 @@ static bool rtl8152_supports_lenovo_macpassthru(struct usb_device *udev)
95869587

95879588
if (vendor_id == VENDOR_ID_LENOVO) {
95889589
switch (product_id) {
9590+
case DEVICE_ID_LENOVO_USB_C_TRAVEL_HUB:
95899591
case DEVICE_ID_THINKPAD_ONELINK_PLUS_DOCK:
95909592
case DEVICE_ID_THINKPAD_THUNDERBOLT3_DOCK_GEN2:
95919593
case DEVICE_ID_THINKPAD_USB_C_DOCK_GEN2:

0 commit comments

Comments
 (0)