Page MenuHomeFreeBSD

Integrate bhnd_chipc's BUS_ADD_CHILD() with a child resource mapping table.
ClosedPublic

Authored by landon_landonf.org on May 24 2016, 5:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 12:39 AM
Unknown Object (File)
Fri, May 15, 7:22 PM
Unknown Object (File)
Fri, May 15, 7:22 PM
Unknown Object (File)
Fri, May 15, 7:11 PM
Unknown Object (File)
Sat, May 2, 11:44 AM
Unknown Object (File)
Sun, Apr 26, 1:39 AM
Unknown Object (File)
Apr 15 2026, 5:23 PM
Unknown Object (File)
Apr 15 2026, 2:53 AM
Subscribers

Details

Summary

This adds support for automatically configuring bhnd_chipc bus children
with associated resources, using an internal 'hints' table based directly
on Michael Zhilin's chipc resource mapping work.

The bhnd_sprom_chipc driver has been converted to use DEVICE_IDENTIFY()
with the new resource table.

This should be nearly drop-in compatible with the child device drivers
in D6250.

Depends on D6515

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3919
Build 3962: arc lint + arc unit

Event Timeline

landon_landonf.org retitled this revision from to Integrate bhnd_chipc's BUS_ADD_CHILD() with a child resource mapping table..
landon_landonf.org updated this object.
landon_landonf.org edited the test plan for this revision. (Show Details)
landon_landonf.org added reviewers: adrian, mizhka.
mizhka edited edge metadata.
This revision is now accepted and ready to land.May 24 2016, 5:42 AM
This revision was automatically updated to reflect the committed changes.