Page MenuHomeFreeBSD

Allow child classes of simplebus to call attach directly
ClosedPublic

Authored by andrew on Aug 3 2020, 12:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 8, 6:37 AM
Unknown Object (File)
Fri, Mar 7, 5:46 PM
Unknown Object (File)
Tue, Mar 4, 11:26 PM
Unknown Object (File)
Tue, Mar 4, 2:11 PM
Unknown Object (File)
Mon, Feb 17, 4:15 AM
Unknown Object (File)
Mon, Feb 17, 1:49 AM
Unknown Object (File)
Feb 13 2025, 6:07 AM
Unknown Object (File)
Jan 25 2025, 7:22 PM
Subscribers

Details

Summary

Reduce code duplication when a bus is subclassed from simplebus by allowing
them to call simplebus_attach directly. This is useful when the child bus
will just implement the same calls.

As not all children will expect to have a ranges property, e.g. the
Raspberry Pi firmware, allow this property to be missing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable