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
F131292234: D13518.diff
Mon, Oct 6, 3:18 PM
Unknown Object (File)
Thu, Oct 2, 8:21 PM
Unknown Object (File)
Tue, Sep 30, 9:56 AM
Unknown Object (File)
Fri, Sep 26, 10:48 PM
Unknown Object (File)
Fri, Sep 26, 4:44 PM
Unknown Object (File)
Fri, Sep 26, 4:44 PM
Unknown Object (File)
Thu, Sep 25, 11:06 PM
Unknown Object (File)
Wed, Sep 24, 10:17 PM
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.