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
F171009777: D25925.id.diff
Tue, Sep 8, 4:19 AM
Unknown Object (File)
Sun, Sep 6, 2:33 PM
Unknown Object (File)
Sun, Sep 6, 3:19 AM
Unknown Object (File)
Sat, Sep 5, 9:12 AM
Unknown Object (File)
Sat, Sep 5, 7:05 AM
Unknown Object (File)
Fri, Sep 4, 9:24 PM
Unknown Object (File)
Fri, Sep 4, 1:54 AM
Unknown Object (File)
Thu, Sep 3, 11:10 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