Skip to content

Commit 7037d95

Browse files
h110hawkPaolo Abeni
authored andcommitted
r8152: add vendor/device ID pair for ASUS USB-C2500
The ASUS USB-C2500 is an RTL8156 based 2.5G Ethernet controller. Add the vendor and product ID values to the driver. This makes Ethernet work with the adapter. Signed-off-by: Kelly Kane <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
1 parent 80d875c commit 7037d95

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/net/usb/r8152.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10049,6 +10049,7 @@ static const struct usb_device_id rtl8152_table[] = {
1004910049
{ USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff) },
1005010050
{ USB_DEVICE(VENDOR_ID_TPLINK, 0x0601) },
1005110051
{ USB_DEVICE(VENDOR_ID_DLINK, 0xb301) },
10052+
{ USB_DEVICE(VENDOR_ID_ASUS, 0x1976) },
1005210053
{}
1005310054
};
1005410055

include/linux/usb/r8152.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#define VENDOR_ID_NVIDIA 0x0955
3131
#define VENDOR_ID_TPLINK 0x2357
3232
#define VENDOR_ID_DLINK 0x2001
33+
#define VENDOR_ID_ASUS 0x0b05
3334

3435
#if IS_REACHABLE(CONFIG_USB_RTL8152)
3536
extern u8 rtl8152_get_version(struct usb_interface *intf);

0 commit comments

Comments
 (0)