Page MenuHomeFreeBSD

usb_hub: Trigger only chaged port on enumeration
Needs ReviewPublic

Authored by aokblast on Fri, May 8, 5:15 PM.
Tags
Referenced Files
F157643185: D56891.id.diff
Sat, May 23, 4:21 PM
Unknown Object (File)
Sat, May 23, 12:41 AM
Unknown Object (File)
Sat, May 23, 12:13 AM
Unknown Object (File)
Fri, May 22, 6:51 PM
Unknown Object (File)
Tue, May 19, 9:30 AM
Unknown Object (File)
Mon, May 18, 7:36 PM
Unknown Object (File)
Mon, May 18, 10:37 AM
Unknown Object (File)
Mon, May 18, 9:00 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

USB hub records changed ports in every hotplug event interrupt.
Instead of reading port status one by one, we use the data from the
callback to speedup enumeration.
Host Controller also does the same thing. But we don't plan to fix it in
this patch since it requires to aggregate all Port Status Changed TRB.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 72936
Build 69819: arc lint + arc unit