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, Apr 6, 7:16 PM
Unknown Object (File)
Mon, Apr 6, 11:13 AM
Unknown Object (File)
Mon, Apr 6, 6:31 AM
Unknown Object (File)
Sat, Apr 4, 2:59 AM
Unknown Object (File)
Thu, Apr 2, 1:35 AM
Unknown Object (File)
Wed, Apr 1, 9:50 PM
Unknown Object (File)
Wed, Apr 1, 12:19 PM
Unknown Object (File)
Tue, Mar 31, 8:26 PM
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 Not Applicable
Unit
Tests Not Applicable

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.