Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Antonio Napolitano and committed by
Jakub Kicinski
72f93a31 4b151e75

+2
+1
drivers/net/usb/r8152.c
··· 9832 9832 { USB_DEVICE(VENDOR_ID_LINKSYS, 0x0041) }, 9833 9833 { USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff) }, 9834 9834 { USB_DEVICE(VENDOR_ID_TPLINK, 0x0601) }, 9835 + { USB_DEVICE(VENDOR_ID_DLINK, 0xb301) }, 9835 9836 {} 9836 9837 }; 9837 9838
+1
include/linux/usb/r8152.h
··· 29 29 #define VENDOR_ID_LINKSYS 0x13b1 30 30 #define VENDOR_ID_NVIDIA 0x0955 31 31 #define VENDOR_ID_TPLINK 0x2357 32 + #define VENDOR_ID_DLINK 0x2001 32 33 33 34 #if IS_REACHABLE(CONFIG_USB_RTL8152) 34 35 extern u8 rtl8152_get_version(struct usb_interface *intf);