netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] r8152: Add MAC passthrough support for Lenovo Travel Hub
@ 2022-08-27 18:47 André Apitzsch
  2022-08-31 19:18 ` Jakub Kicinski
  0 siblings, 1 reply; 3+ messages in thread
From: André Apitzsch @ 2022-08-27 18:47 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 d142ac8fcf6e..6fe50797e3c5 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_THUNDERBOLT3_DOCK_GEN2	0x3082
 #define DEVICE_ID_THINKPAD_USB_C_DONGLE			0x720c
 #define DEVICE_ID_THINKPAD_USB_C_DOCK_GEN2		0xa387
@@ -9581,6 +9582,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_THUNDERBOLT3_DOCK_GEN2:
 		case DEVICE_ID_THINKPAD_USB_C_DOCK_GEN2:
 		case DEVICE_ID_THINKPAD_USB_C_DOCK_GEN3:
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] r8152: Add MAC passthrough support for Lenovo Travel Hub
  2022-08-27 18:47 [PATCH] r8152: Add MAC passthrough support for Lenovo Travel Hub André Apitzsch
@ 2022-08-31 19:18 ` Jakub Kicinski
  2022-09-01 17:03   ` André Apitzsch
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Kicinski @ 2022-08-31 19:18 UTC (permalink / raw)
  To: André Apitzsch; +Cc: Aaron Ma, linux-usb, netdev, linux-kernel

On Sat, 27 Aug 2022 20:47:29 +0200 André Apitzsch wrote:
> The Lenovo USB-C Travel Hub supports MAC passthrough.
> 
> Signed-off-by: André Apitzsch <git@apitzsch.eu>

Which tree did you base this patch on?

Please rebase on top of net-next [1] and repost with [PATCH net-next] in
the subject.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] r8152: Add MAC passthrough support for Lenovo Travel Hub
  2022-08-31 19:18 ` Jakub Kicinski
@ 2022-09-01 17:03   ` André Apitzsch
  0 siblings, 0 replies; 3+ messages in thread
From: André Apitzsch @ 2022-09-01 17:03 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: Aaron Ma, linux-usb, netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

Am Mittwoch, dem 31.08.2022 um 12:18 -0700 schrieb Jakub Kicinski:
> On Sat, 27 Aug 2022 20:47:29 +0200 André Apitzsch wrote:
> > The Lenovo USB-C Travel Hub supports MAC passthrough.
> > 
> > Signed-off-by: André Apitzsch <git@apitzsch.eu>
> 
> Which tree did you base this patch on?
> 
> Please rebase on top of net-next [1] and repost with [PATCH net-next] in
> the subject.
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/

The patch was based on
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/

Rebased and repost, see
https://lore.kernel.org/linux-usb/20220901170013.7975-1-git@apitzsch.eu/

André Apitzsch

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-01 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-27 18:47 [PATCH] r8152: Add MAC passthrough support for Lenovo Travel Hub André Apitzsch
2022-08-31 19:18 ` Jakub Kicinski
2022-09-01 17:03   ` André Apitzsch

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).