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)
Tue, Apr 9, 7:25 PM
Unknown Object (File)
Feb 18 2024, 5:47 AM
Unknown Object (File)
Feb 10 2024, 12:44 AM
Unknown Object (File)
Feb 8 2024, 2:40 PM
Unknown Object (File)
Jan 13 2024, 10:39 AM
Unknown Object (File)
Jan 13 2024, 10:16 AM
Unknown Object (File)
Dec 29 2023, 3:25 PM
Unknown Object (File)
Dec 2 2023, 4:37 PM
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.