* [PATCH] r8152: add vendor/device ID pair for ASUS USB-C2500
@ 2023-12-03 1:17 Kelly Kane
2023-12-06 9:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Kelly Kane @ 2023-12-03 1:17 UTC (permalink / raw)
To: davem, edumazet, kuba, pabeni; +Cc: linux-usb, netdev, linux-kernel
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>
---
drivers/net/usb/r8152.c | 1 +
include/linux/usb/r8152.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index afb20c0ed688..04aaae8a74c3 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -9993,6 +9993,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_ASUS, 0x1976) },
{}
};
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);
base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] r8152: add vendor/device ID pair for ASUS USB-C2500
2023-12-03 1:17 [PATCH] r8152: add vendor/device ID pair for ASUS USB-C2500 Kelly Kane
@ 2023-12-06 9:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-12-06 9:50 UTC (permalink / raw)
To: Kelly Kane; +Cc: davem, edumazet, kuba, pabeni, linux-usb, netdev, linux-kernel
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sat, 2 Dec 2023 17:17:12 -0800 you wrote:
> 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>
>
> [...]
Here is the summary with links:
- r8152: add vendor/device ID pair for ASUS USB-C2500
https://git.kernel.org/netdev/net/c/7037d95a047c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-06 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03 1:17 [PATCH] r8152: add vendor/device ID pair for ASUS USB-C2500 Kelly Kane
2023-12-06 9:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox