git: f17b69fd0fde - main - Move (LENOVO, TBT3LAN) from if_ure til if_cdce where it works much better
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Oct 2023 15:55:40 UTC
The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=f17b69fd0fde57301449d4e6506906bbff738f75 commit f17b69fd0fde57301449d4e6506906bbff738f75 Author: Poul-Henning Kamp <phk@FreeBSD.org> AuthorDate: 2023-10-11 15:54:55 +0000 Commit: Poul-Henning Kamp <phk@FreeBSD.org> CommitDate: 2023-10-11 15:54:55 +0000 Move (LENOVO, TBT3LAN) from if_ure til if_cdce where it works much better --- sys/dev/usb/net/if_ure.c | 1 - sys/dev/usb/quirk/usb_quirk.c | 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 26fe17bb072e..d954276662ca 100644 --- a/sys/dev/usb/net/if_ure.c +++ b/sys/dev/usb/net/if_ure.c @@ -98,7 +98,6 @@ static const STRUCT_USB_HOST_ID ure_devs[] = { USB_IFACE_CLASS(UICLASS_VENDOR), \ USB_IFACE_SUBCLASS(UISUBCLASS_VENDOR) } URE_DEV(LENOVO, RTL8153, URE_FLAG_8153), - URE_DEV(LENOVO, TBT3LAN, 0), URE_DEV(LENOVO, TBT3LANGEN2, 0), URE_DEV(LENOVO, ONELINK, 0), URE_DEV(LENOVO, RTL8153_04, URE_FLAG_8153), diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index 38016e6abc1b..c4cd84f30c65 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -630,6 +630,9 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { /* Holtek USB gaming keyboard */ USB_QUIRK(HOLTEK, F85, 0x0000, 0xffff, UQ_KBD_BOOTPROTO), + + /* This works much better with if_cdce than if_ure */ + USB_QUIRK(LENOVO, TBT3LAN, 0x0000, 0xffff, UQ_CFG_INDEX_1), }; #undef USB_QUIRK_VP #undef USB_QUIRK