Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 13:36:43 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3bc6020f3024 - stable/13 - ure(4): add support for Thinkpad Hybrid USB-C with USB-A dock
Message-ID:  <202307181336.36IDahGY049905@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3bc6020f3024eccd1c876bbc2ca5499fc7df07f1

commit 3bc6020f3024eccd1c876bbc2ca5499fc7df07f1
Author:     Joerg Pulz <Joerg.Pulz@frm2.tum.de>
AuthorDate: 2023-07-04 16:08:13 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-07-18 13:36:14 +0000

    ure(4): add support for Thinkpad Hybrid USB-C with USB-A dock
    
    Add support for LAN port found on Thinkpad Hybrid USB-C with USB-A dock.
    While here fix a small typo
      - s/UBS/USB/
    
    Sponsored by:   Technical University of Munich
    Reviewed by:    markj
    MFC after:      2 weeks
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/791
    
    (cherry picked from commit 53a03e312cf27fca9b672c22d9b1687a66785cfb)
---
 sys/dev/usb/net/if_ure.c | 1 +
 sys/dev/usb/usbdevs      | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/dev/usb/net/if_ure.c b/sys/dev/usb/net/if_ure.c
index 9a421f02732e..106182959575 100644
--- a/sys/dev/usb/net/if_ure.c
+++ b/sys/dev/usb/net/if_ure.c
@@ -106,6 +106,7 @@ static const STRUCT_USB_HOST_ID ure_devs[] = {
 	URE_DEV(LENOVO, RTL8153_04, URE_FLAG_8153),
 	URE_DEV(LENOVO, USBCLAN, 0),
 	URE_DEV(LENOVO, USBCLANGEN2, 0),
+	URE_DEV(LENOVO, USBCLANHYBRID, 0),
 	URE_DEV(MICROSOFT, WINDEVETH, 0),
 	URE_DEV(NVIDIA, RTL8153, URE_FLAG_8153),
 	URE_DEV(REALTEK, RTL8152, URE_FLAG_8152),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index bab6d835d417..41386c7b2665 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -2830,7 +2830,8 @@ product LENOVO RTL8153_04	0x720c	USB 3.0 Ethernet
 product LENOVO TBT3LAN		0x3069	LAN port in Thinkpad TB3 dock
 product LENOVO USBCLAN		0x3062	LAN port in Thinkpad USB-C dock
 product LENOVO TBT3LANGEN2	0x3082  LAN port in Thinkpad TB3 dock gen2 
-product LENOVO USBCLANGEN2	0xa387  LAN port in Thinkpad UBS-C dock gen2
+product LENOVO USBCLANGEN2	0xa387  LAN port in Thinkpad USB-C dock gen2
+product LENOVO USBCLANHYBRID	0xa359  LAN port in Thinkpad Hybrid USB-C with USB-A dock
 
 /* Lexar products */
 product LEXAR JUMPSHOT		0x0001	jumpSHOT CompactFlash Reader



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307181336.36IDahGY049905>