<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/usb/controller, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-06-30T14:59:40Z</updated>
<entry>
<title>generic_ehci_fdt: fix driver softc size</title>
<updated>2026-06-30T14:59:40Z</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2026-06-30T14:58:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5332d3a904242cb82e7dbf35e4aeec7c2df4402'/>
<id>urn:sha1:d5332d3a904242cb82e7dbf35e4aeec7c2df4402</id>
<content type='text'>
This subclass declares its own softc structure adding necessary members
after the embedded ehci_softc_t. The full size of the struct must be
included in the driver declaration, otherwise the allocation backing the
softc is not guaranteed to be large enough.

Reported by:	KASAN
Reviewed by:	jrtc27, manu
Fixes: 7a58744fd0f1 ("Split out the attachment from the generic-ehci driver")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D57951
</content>
</entry>
<entry>
<title>apple_bce/vhci: add T2 virtual USB host controller</title>
<updated>2026-06-14T20:56:53Z</updated>
<author>
<name>Abdelkader Boudih</name>
<email>freebsd@seuros.com</email>
</author>
<published>2026-06-14T20:54:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f90536c74b8172fc67cd977e5451f37a12462d5'/>
<id>urn:sha1:9f90536c74b8172fc67cd977e5451f37a12462d5</id>
<content type='text'>
Implements a VHCI driver on top of the BCE transport:
- Virtual USB bus registration via usb_controller
- Port discovery and device enumeration
- Control, interrupt, and bulk endpoint support
- Firmware event handling with taskqueue
- Suspend/resume via BCE mailbox

Provides keyboard, trackpad, and Touch Bar access on T2 Macs.

Tested-on: MacBookPro16,2 (A2251), Mac mini 8,1 (A1993)

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D57089
</content>
</entry>
<entry>
<title>xhci: Do not drop and add bits in xhci</title>
<updated>2026-05-22T07:41:07Z</updated>
<author>
<name>ShengYi Hung</name>
<email>aokblast@FreeBSD.org</email>
</author>
<published>2026-05-21T12:49:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=28d85db46b484589e2ee74cf4b270db066821de1'/>
<id>urn:sha1:28d85db46b484589e2ee74cf4b270db066821de1</id>
<content type='text'>
Drop and Add bits reset the data toggle for high-speed devices in XHCI.
The toggle bit represents the sequence number in USB 2.0 transfers. However,
a device can only recognize that the toggle bit has been reset while in
the HALT state. As a result, the host and device toggle values may
become mismatched, causing xHCI to reject the packet. This issue was
observed while testing the EZ-USB FX2 device.

The transfer may then return to the original value after a
bi-directional TD because the toggle field is only one bit wide. This
explains the reson that we can only receive packets bi-transfer in some
case. Therefore, we do not reset the toggle bit here.

Reviewed by:    adrian
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57146
</content>
</entry>
<entry>
<title>chore: replace {0, 0} with {DEV,KOBJ}METHOD_END</title>
<updated>2026-02-25T05:59:34Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-02-21T06:14:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0fc6c3f731a2cca3120798806c330a3081c9424b'/>
<id>urn:sha1:0fc6c3f731a2cca3120798806c330a3081c9424b</id>
<content type='text'>
Both of the aforementioned macros have been present in FreeBSD
for well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for
`DEVMETHOD_END`.

Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`
and `KOBJMETHOD_END` as appropriate. This helps ensure that
future adaptations to drivers following patterns documented
in driver(9) can be made more easily/without issue.

MFC after:	1 week
Differential Revision:	 https://reviews.freebsd.org/D55414
</content>
</entry>
<entry>
<title>xhci: Add header values for Debug Capability (DbC)</title>
<updated>2025-12-05T10:18:02Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2025-12-05T10:09:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a0dd6022391aa33b035962d69965ef506cc46a20'/>
<id>urn:sha1:a0dd6022391aa33b035962d69965ef506cc46a20</id>
<content type='text'>
Add header values for xHCI debug capability. These values are defined in
section 7.6 of xHCI Specification 1.2b (April 2023).

Reviewed by: imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53897
</content>
</entry>
<entry>
<title>xhci: Correct name of HCCPARAMS Register</title>
<updated>2025-12-05T10:17:45Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2025-12-05T10:07:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=234351604252cec485992cb7f5e76aa98c0a4380'/>
<id>urn:sha1:234351604252cec485992cb7f5e76aa98c0a4380</id>
<content type='text'>
On inital import the name of HCCPARAMS1 was misnamed as HCSPARAMS0.
HCCPARAMS1 is defined in section 5.3.6 of xHCI Specification 1.2b (April
2023).

Reviewed by:	adrian
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53895
</content>
</entry>
<entry>
<title>xhci: Add some Alder lake device ids</title>
<updated>2025-12-05T10:16:59Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2025-12-05T10:04:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f327659e045019ac36f32c952c9df723927c3da9'/>
<id>urn:sha1:f327659e045019ac36f32c952c9df723927c3da9</id>
<content type='text'>
Reviewed By:	aokblast
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52994
</content>
</entry>
<entry>
<title>ehci(4): Add ID for Realtek RTL811x USB 2.0 controller</title>
<updated>2025-10-20T14:05:05Z</updated>
<author>
<name>Dmitry Luhtionov</name>
<email>dmitryluhtionov@gmail.com</email>
</author>
<published>2025-10-20T14:05:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2838e818cfe5b150725776cc9ab45bb8f65c390'/>
<id>urn:sha1:a2838e818cfe5b150725776cc9ab45bb8f65c390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add random Intel Elkhart Lake device IDs.</title>
<updated>2025-09-08T16:28:24Z</updated>
<author>
<name>Dmitry Luhtionov</name>
<email>dmitryluhtionov@gmail.com</email>
</author>
<published>2025-09-08T16:28:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef083de7d472b13bbaa18a165b66b93909422b2e'/>
<id>urn:sha1:ef083de7d472b13bbaa18a165b66b93909422b2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xhci: Parse and print extended capabilities</title>
<updated>2025-09-02T09:37:08Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2025-07-14T08:07:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=405cfeef615f5493b49b6ab4619fa29dfe37fd7d'/>
<id>urn:sha1:405cfeef615f5493b49b6ab4619fa29dfe37fd7d</id>
<content type='text'>
Parse out and display xhci controller extended capabilities. This gives
us a mechanism to pick these up when the controller attaches. The print
helps users and developer know the availability of features in the wild.

This change will let developers know from dmesg that a controller
supports USB debugging.

Reviewed by:	aokblast
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51255
</content>
</entry>
</feed>
