* [PATCH net-next] r8152: Add MAC passthrough support for Lenovo Travel Hub
@ 2022-09-01 17:00 André Apitzsch
2022-09-03 9:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: André Apitzsch @ 2022-09-01 17:00 UTC (permalink / raw)
To: Aaron Ma, Jakub Kicinski, linux-usb, netdev, linux-kernel
Cc: André Apitzsch
The Lenovo USB-C Travel Hub supports MAC passthrough.
Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
drivers/net/usb/r8152.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index dca6f71c4bfe..a51d8ded60f3 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -770,6 +770,7 @@ enum rtl8152_flags {
RX_EPROTO,
};
+#define DEVICE_ID_LENOVO_USB_C_TRAVEL_HUB 0x721e
#define DEVICE_ID_THINKPAD_ONELINK_PLUS_DOCK 0x3054
#define DEVICE_ID_THINKPAD_THUNDERBOLT3_DOCK_GEN2 0x3082
#define DEVICE_ID_THINKPAD_USB_C_DONGLE 0x720c
@@ -9586,6 +9587,7 @@ static bool rtl8152_supports_lenovo_macpassthru(struct usb_device *udev)
if (vendor_id == VENDOR_ID_LENOVO) {
switch (product_id) {
+ case DEVICE_ID_LENOVO_USB_C_TRAVEL_HUB:
case DEVICE_ID_THINKPAD_ONELINK_PLUS_DOCK:
case DEVICE_ID_THINKPAD_THUNDERBOLT3_DOCK_GEN2:
case DEVICE_ID_THINKPAD_USB_C_DOCK_GEN2:
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] r8152: Add MAC passthrough support for Lenovo Travel Hub
2022-09-01 17:00 [PATCH net-next] r8152: Add MAC passthrough support for Lenovo Travel Hub André Apitzsch
@ 2022-09-03 9:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-03 9:40 UTC (permalink / raw)
To: =?utf-8?b?QW5kcsOpIEFwaXR6c2NoIDxnaXRAYXBpdHpzY2guZXU+?=
Cc: aaron.ma, kuba, linux-usb, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Thu, 1 Sep 2022 19:00:13 +0200 you wrote:
> The Lenovo USB-C Travel Hub supports MAC passthrough.
>
> Signed-off-by: André Apitzsch <git@apitzsch.eu>
> ---
> drivers/net/usb/r8152.c | 2 ++
> 1 file changed, 2 insertions(+)
Here is the summary with links:
- [net-next] r8152: Add MAC passthrough support for Lenovo Travel Hub
https://git.kernel.org/netdev/net-next/c/e26c258434b8
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:[~2022-09-03 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-01 17:00 [PATCH net-next] r8152: Add MAC passthrough support for Lenovo Travel Hub André Apitzsch
2022-09-03 9:40 ` 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;
as well as URLs for NNTP newsgroup(s).