summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKelly Kane <kelly@hawknetworks.com>2023-12-03 04:17:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-20 19:01:42 +0300
commitda94fb0217e52ef10993135dd67263857b170b63 (patch)
tree9f4ab8ea37bd903f97cc6f1e0525b040310ee92e /include/linux
parentac25535242acb0d0042b920e5232b10e76ad169b (diff)
downloadlinux-da94fb0217e52ef10993135dd67263857b170b63.tar.xz
r8152: add vendor/device ID pair for ASUS USB-C2500
[ Upstream commit 7037d95a047cd89b1f680eed253c6ab586bef1ed ] 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 <kelly@hawknetworks.com> Link: https://lore.kernel.org/r/20231203011712.6314-1-kelly@hawknetworks.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/r8152.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/r8152.h b/include/linux/usb/r8152.h
index 287e9d83fb8b..33a4c146dc19 100644
--- a/include/linux/usb/r8152.h
+++ b/include/linux/usb/r8152.h
@@ -30,6 +30,7 @@
#define VENDOR_ID_NVIDIA 0x0955
#define VENDOR_ID_TPLINK 0x2357
#define VENDOR_ID_DLINK 0x2001
+#define VENDOR_ID_ASUS 0x0b05
#if IS_REACHABLE(CONFIG_USB_RTL8152)
extern u8 rtl8152_get_version(struct usb_interface *intf);