Page MenuHomeFreeBSD

[BHND/USB] Port of EHCI/OHCI support from ZRouter

Authored by mizhka on Sep 4 2016, 4:36 PM.




This patch adds EHCI/OHCI support for BroadCom SoCs. Patch is port from ZRouter project (@ray).

Test Plan

Tested on Asus RT-N16 (external USB) and RT-N53 (internal USB)

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mizhka retitled this revision from to [BHND/USB] Port of EHCI/OHCI support from ZRouter.
mizhka updated this object.
mizhka edited the test plan for this revision. (Show Details)
mizhka added reviewers: landonf, ray, adrian.
mizhka set the repository for this revision to rS FreeBSD src repository - subversion.
mizhka added a subscriber: ray.
adrian edited edge metadata.

Just make sure the cache line size is 32 bytes (to match USB_HOST_ALIGN), and then yes, commit away. :)

This revision is now accepted and ready to land.Sep 4 2016, 6:16 PM
ray edited edge metadata.
ray added inline comments.
243–266 ↗(On Diff #20040)

Please remove that :-D
or @ifdef for BCM5354, or add chipid check :)

24 ↗(On Diff #20040)

optional usb

25 ↗(On Diff #20040)

optional ehci

26 ↗(On Diff #20040)

optional ohci

This revision was automatically updated to reflect the committed changes.