Page MenuHomeFreeBSD

xhci: Add header values for Debug Capability (DbC)
ClosedPublic

Authored by thj on Nov 24 2025, 1:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 25, 6:35 PM
Unknown Object (File)
Tue, Aug 25, 1:50 PM
Unknown Object (File)
Mon, Aug 24, 7:10 PM
Unknown Object (File)
Sun, Aug 23, 1:10 PM
Unknown Object (File)
Sun, Aug 23, 12:02 AM
Unknown Object (File)
Fri, Aug 21, 12:20 PM
Unknown Object (File)
Thu, Aug 13, 12:13 PM
Unknown Object (File)
Thu, Aug 13, 1:28 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

thj requested review of this revision.Nov 24 2025, 1:19 PM
sys/dev/usb/controller/xhcireg.h
221–224

Why both the "extract bits 15:8" macro and shifted #defines for in and out? Also what's special about 0xFF? 0x02-0xFE are equally reserved afaics.

252

SBR is bit 1, not 2?

  • Correct DC SBR bit definition
  • Change doorbell field definition and remove get method
thj marked 2 inline comments as done.Nov 26 2025, 10:58 AM
thj added inline comments.
sys/dev/usb/controller/xhcireg.h
221–224

Thanks for the close read. Looking futher at the implementation and reading the bits is pointless, they should ways read as 0. I've changed the mask, but this isn't a bit field it, instead it is either the value 0 or 1.

252

Thanks for the close read!

This revision is now accepted and ready to land.Nov 29 2025, 10:36 AM

FYI I didn't look closely at the ones after XHCI_DCST

thj marked 2 inline comments as done.
  • Add a comment labelling the Doorbell
  • The Device address field is 7 bits wide rather than 3 bits
This revision now requires review to proceed.Dec 3 2025, 9:56 AM
This revision is now accepted and ready to land.Dec 3 2025, 8:22 PM