HomeFreeBSD

Remove the 'ivars' arguement to device_add_child() and
rS54073Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Remove the 'ivars' arguement to device_add_child() and
device_add_child_ordered(). 'ivars' may now be set using the
device_set_ivars() function.

This makes it easier for us to change how arbitrary data structures are
associated with a device_t. Eventually we won't be modifying device_t
to add additional pointers for ivars, softc data etc.

Despite my best efforts I've probably forgotten something so let me know
if this breaks anything. I've been running with this change for months
and its been quite involved actually isolating all the changes from
the rest of the local changes in my tree.

Reviewed by: peter, dfr

Details

Provenance
mdoddAuthored on
Parents
rS54072: MFC: bring back the new isp options. Unfortunately a LINT kernel does
Branches
Unknown
Tags
Unknown

Event Timeline