]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
r8152: add vendor/device ID pair for Dell Alienware AW1022z
authorAleksander Jan Bajkowski <olek2@wp.pl>
Thu, 6 Feb 2025 22:40:33 +0000 (23:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Feb 2025 01:57:35 +0000 (17:57 -0800)
The Dell AW1022z is an RTL8156B 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: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://patch.msgid.link/20250206224033.980115-1-olek2@wp.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/r8152.c
include/linux/usb/r8152.h

index 468c739740463d73609aa2a48ad76adcd9101d06..e1021148d3a695be44d87e6bd6cda21a10652284 100644 (file)
@@ -10079,6 +10079,7 @@ static const struct usb_device_id rtl8152_table[] = {
        { USB_DEVICE(VENDOR_ID_NVIDIA,  0x09ff) },
        { USB_DEVICE(VENDOR_ID_TPLINK,  0x0601) },
        { USB_DEVICE(VENDOR_ID_DLINK,   0xb301) },
+       { USB_DEVICE(VENDOR_ID_DELL,    0xb097) },
        { USB_DEVICE(VENDOR_ID_ASUS,    0x1976) },
        {}
 };
index 33a4c146dc19c45d5cb343fba0ffdf0a0b7cff36..2ca60828f28bb61f8ccfda99a6d80d902d3dd5d0 100644 (file)
@@ -30,6 +30,7 @@
 #define VENDOR_ID_NVIDIA               0x0955
 #define VENDOR_ID_TPLINK               0x2357
 #define VENDOR_ID_DLINK                        0x2001
+#define VENDOR_ID_DELL                 0x413c
 #define VENDOR_ID_ASUS                 0x0b05
 
 #if IS_REACHABLE(CONFIG_USB_RTL8152)