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
Unknown Object (File)
Thu, Jan 2, 12:32 PM
Unknown Object (File)
Wed, Dec 25, 12:44 AM
Unknown Object (File)
Dec 11 2024, 6:47 AM
Unknown Object (File)
Dec 11 2024, 6:04 AM
Unknown Object (File)
Nov 23 2024, 11:33 PM
Unknown Object (File)
Nov 5 2024, 5:43 PM
Unknown Object (File)
Nov 1 2024, 1:09 AM
Unknown Object (File)
Oct 20 2024, 5:37 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.