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)
Sun, Nov 23, 6:47 PM
Unknown Object (File)
Fri, Nov 21, 2:07 AM
Unknown Object (File)
Fri, Nov 21, 2:06 AM
Unknown Object (File)
Fri, Nov 21, 2:05 AM
Unknown Object (File)
Fri, Nov 21, 2:01 AM
Unknown Object (File)
Wed, Nov 12, 12:00 AM
Unknown Object (File)
Nov 5 2025, 2:50 AM
Unknown Object (File)
Nov 1 2025, 9:13 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.