Page MenuHomeFreeBSD

Make basic Broadcom I/O space reading functions work
ClosedPublic

Authored by kibab on Aug 23 2017, 8:05 PM.
Tags
None
Referenced Files
F113915173: D12111.id32345.diff
Sat, Apr 5, 1:08 PM
Unknown Object (File)
Mon, Mar 31, 6:23 PM
Unknown Object (File)
Sun, Mar 23, 4:58 AM
Unknown Object (File)
Mar 3 2025, 3:34 PM
Unknown Object (File)
Feb 24 2025, 6:43 AM
Unknown Object (File)
Feb 23 2025, 5:36 AM
Unknown Object (File)
Feb 8 2025, 4:32 PM
Unknown Object (File)
Jan 25 2025, 10:57 AM
Subscribers
None

Details

Summary

It's now possible to use Broadcom functions to read
the I/O registers of SDIO card. The functions were copied from
the BSD-licensed Broadcom Linux driver as-is.
To make it possible, a small Linux compatibility layer was introduced.

Currently the card responds with the correct version number ("magic")
when reading the corresponding address.

Test Plan

compile the tool and run it against Broadcom-based SDIO WIFI chip.
I tested on Wandboard Quad where it hides behind pass1.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 11 2017, 8:56 PM

Added files lost in the process of doing git rebase magic. PTAL

This revision now requires review to proceed.Sep 18 2017, 7:56 AM

Added licenses for the code from Broadcom

This revision is now accepted and ready to land.Sep 18 2017, 2:45 PM
This revision was automatically updated to reflect the committed changes.