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)
Sun, Nov 9, 8:53 AM
Unknown Object (File)
Wed, Oct 29, 4:43 AM
Unknown Object (File)
Tue, Oct 21, 11:15 PM
Unknown Object (File)
Tue, Oct 21, 11:15 PM
Unknown Object (File)
Tue, Oct 21, 11:15 PM
Unknown Object (File)
Tue, Oct 21, 11:34 AM
Unknown Object (File)
Mon, Oct 20, 7:19 AM
Unknown Object (File)
Sat, Oct 18, 10:29 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