Alexander Ziaee <ziaee_at_FreeBSD.org> wrote on Date: Tue, 23 Dec 2025 13:59:00 UTC :
> The branch main has been updated by ziaee: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=f7245a27e86c4c0012c8fb32c11bc4fdfbe64b62 > > commit f7245a27e86c4c0012c8fb32c11bc4fdfbe64b62 > Author: Alexander Ziaee <[email protected]> > AuthorDate: 2025-12-23 13:55:57 +0000 > Commit: Alexander Ziaee <[email protected]> > CommitDate: 2025-12-23 13:55:57 +0000 > > cdce.4: Add RTL8153 to HARDWARE > > Fixes: 1b1fb628a1af (Quirk Realtek RTL8153 to config#1) > --- > share/man/man4/cdce.4 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/share/man/man4/cdce.4 b/share/man/man4/cdce.4 > index 266d87bca079..3f1d9200c7f2 100644 > --- a/share/man/man4/cdce.4 > +++ b/share/man/man4/cdce.4 > @@ -99,7 +99,9 @@ Android USB tethering > .It > iPhone USB tethering > .It > -Prolific PL-2501 Host-to-Host Bridge Controller > +Realtek RTL8153 USB 3.0 to Gigabit Ethernet controller > +.It > +Prolific PL-2501 Host-to-Host Bridge controller > .It > Sharp Zaurus PDA > .It > As of now cdce.4 is only used for revision 0x31fd of the REALTEK RTL8153 because of a reported failure and potential speed issues for some other known to be in use revisions of the part were previously working fine: Poul-Henning Kamp <phk_at_FreeBSD.org> Date: Tue, 23 Dec 2025 17:04:32 UTC The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=a7e0f6a3dc5f3c4d11066a4b6529bc8cb868694a commit a7e0f6a3dc5f3c4d11066a4b6529bc8cb868694a Author: Poul-Henning Kamp <[email protected]> AuthorDate: 2025-12-23 17:04:10 +0000 Commit: Poul-Henning Kamp <[email protected]> CommitDate: 2025-12-23 17:04:10 +0000 Specialize the REALTEK RTL8153 quirk to just rev=0x31fd --- sys/dev/usb/quirk/usb_quirk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index cd48d6d1d364..04441b2a344b 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -574,7 +574,7 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { /* This works much better with if_cdce than if_ure */ USB_QUIRK(LENOVO, TBT3LAN, UQ_CFG_INDEX_1), - USB_QUIRK(REALTEK, RTL8153, UQ_CFG_INDEX_1), + USB_QUIRK_REV(REALTEK, RTL8153, 0x31fd, 0x31fd, UQ_CFG_INDEX_1), }; #undef USB_QUIRK_VO #undef USB_QUIRK_REV From what has been reported, I gather there is a lot of variability in the behavior of the RTL8153 based on the revision code value. === Mark Millard marklmi at yahoo.com
