Page MenuHomeFreeBSD

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

Authored by thj on Mon, Nov 24, 1:19 PM.
Tags
None
Referenced Files
F139949710: D53897.id167571.diff
Thu, Dec 18, 7:57 AM
Unknown Object (File)
Wed, Dec 17, 8:01 PM
Unknown Object (File)
Tue, Dec 16, 9:47 PM
Unknown Object (File)
Tue, Dec 16, 9:43 PM
Unknown Object (File)
Mon, Dec 15, 8:41 PM
Unknown Object (File)
Thu, Dec 11, 1:00 PM
Unknown Object (File)
Thu, Dec 4, 8:15 AM
Unknown Object (File)
Wed, Dec 3, 4:12 PM
Subscribers

Diff Detail

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

Event Timeline

thj requested review of this revision.Mon, Nov 24, 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.Wed, Nov 26, 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.Sat, Nov 29, 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.Wed, Dec 3, 9:56 AM
This revision is now accepted and ready to land.Wed, Dec 3, 8:22 PM