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.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 6:28 PM
Unknown Object (File)
Mon, Nov 11, 7:31 PM
Unknown Object (File)
Thu, Nov 7, 1:18 PM
Unknown Object (File)
Mon, Oct 28, 9:54 PM
Unknown Object (File)
Oct 17 2024, 7:32 AM
Unknown Object (File)
Oct 17 2024, 7:32 AM
Unknown Object (File)
Oct 17 2024, 7:31 AM
Unknown Object (File)
Oct 17 2024, 7:31 AM
Subscribers

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 Passed
Unit
No 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.