Page MenuHomeFreeBSD

bwn(4): replace siba_bwn(4) compatibility shims with the native bhnd(4) interface, and remove the legacy siba_bwn code.
ClosedPublic

Authored by landonf on Dec 17 2017, 2:48 AM.

Details

Summary

This removes the shim interface that allowed bwn(4) to use either siba_bwn(4) or bhnd(4), replacing all siba_bwn(4) calls with their bhnd(4) bus equivalents.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 14499
Build 14640: arc lint + arc unit

Event Timeline

  • Fix leak of the core register resource in the bwn_attach() error path.
  • Fix over-release of the PMU provider.

Sync up with latest changes to HEAD.

  • Merge latest bhnd(4)/bwn(4) bug fixes from HEAD.
  • Do not attempt to access DMA engine registers prior to performing a core reset; this fixes a machine check exception on PowerPC systems.
This revision is now accepted and ready to land.Feb 6 2018, 3:49 AM

This was closed by rS328912, but Phabricator doesn't seem to want to import the commit.