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)
Mon, Jul 6, 5:22 AM
Unknown Object (File)
Sat, Jul 4, 11:12 AM
Unknown Object (File)
Fri, Jul 3, 1:07 PM
Unknown Object (File)
Wed, Jul 1, 4:59 AM
Unknown Object (File)
Thu, Jun 25, 4:31 AM
Unknown Object (File)
Mon, Jun 22, 4:20 PM
Unknown Object (File)
Mon, Jun 22, 11:24 AM
Unknown Object (File)
Sun, Jun 21, 7:55 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