Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2020 11:59:49 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a8261b70e681 - Add support for USB-C and TB3 Gen2 to if_ure(4).
Message-ID:  <202012241159.0BOBxnbA009862@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky:

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

commit a8261b70e6814d09f2f7bef0d344e23ad554f14e
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2020-12-24 11:59:19 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2020-12-24 11:59:19 +0000

    Add support for USB-C and TB3 Gen2 to if_ure(4).
    
    Add support for LAN found on Thinkpad USB-C and Thunderbolt Gen 2
    docking stations.
    
    Submitted by:   ali.abdallah@suse.com
    MFC after:      1 week
    Sponsored by:   Mellanox Technologies // NVIDIA Networking
---
 sys/dev/usb/net/if_ure.c | 2 ++
 sys/dev/usb/usbdevs      | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys/dev/usb/net/if_ure.c b/sys/dev/usb/net/if_ure.c
index 2be46371cd28..9d43b9a59a44 100644
--- a/sys/dev/usb/net/if_ure.c
+++ b/sys/dev/usb/net/if_ure.c
@@ -98,8 +98,10 @@ static const STRUCT_USB_HOST_ID ure_devs[] = {
 #define	URE_DEV(v,p,i)	{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) }
 	URE_DEV(LENOVO, RTL8153, 0),
 	URE_DEV(LENOVO, TBT3LAN, 0),
+	URE_DEV(LENOVO, TBT3LANGEN2, 0),
 	URE_DEV(LENOVO, ONELINK, 0),
 	URE_DEV(LENOVO, USBCLAN, 0),
+	URE_DEV(LENOVO, USBCLANGEN2, 0),
 	URE_DEV(NVIDIA, RTL8153, 0),
 	URE_DEV(REALTEK, RTL8152, URE_FLAG_8152),
 	URE_DEV(REALTEK, RTL8153, 0),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 64a22648743a..8ea76d44ce14 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -2801,6 +2801,8 @@ product LENOVO RTL8153		0x7205	USB 3.0 Ethernet
 product LENOVO ONELINK		0x720a	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
 
 /* 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?202012241159.0BOBxnbA009862>