Skip to content

Commit

Permalink
ure(4): add support for Thinkpad Hybrid USB-C with USB-A dock
Browse files Browse the repository at this point in the history
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:	freebsd/freebsd-src#791
  • Loading branch information
jpulz authored and bsdjhb committed Sep 2, 2023
2 parents 366107c + 53a03e3 commit cb40e05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sys/dev/usb/net/if_ure.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
3 changes: 2 additions & 1 deletion sys/dev/usb/usbdevs
Original file line number Diff line number Diff line change
Expand Up @@ -2832,7 +2832,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
Expand Down

0 comments on commit cb40e05

Please sign in to comment.