Skip to content

Commit 72f93a3

Browse files
napaalmkuba-moo
authored andcommitted
r8152: add vendor/device ID pair for D-Link DUB-E250
The D-Link DUB-E250 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: Antonio Napolitano <anton@polit.no> Link: https://lore.kernel.org/r/CV200KJEEUPC.WPKAHXCQJ05I@mercurius Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 4b151e7 commit 72f93a3

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
@@ -9832,6 +9832,7 @@ static const struct usb_device_id rtl8152_table[] = {
98329832
{ USB_DEVICE(VENDOR_ID_LINKSYS, 0x0041) },
98339833
{ USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff) },
98349834
{ USB_DEVICE(VENDOR_ID_TPLINK, 0x0601) },
9835+
{ USB_DEVICE(VENDOR_ID_DLINK, 0xb301) },
98359836
{}
98369837
};
98379838

include/linux/usb/r8152.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#define VENDOR_ID_LINKSYS 0x13b1
3030
#define VENDOR_ID_NVIDIA 0x0955
3131
#define VENDOR_ID_TPLINK 0x2357
32+
#define VENDOR_ID_DLINK 0x2001
3233

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

0 commit comments

Comments
 (0)