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
F169579652: D25925.diff
Tue, Sep 1, 11:34 PM
F169572781: D25925.id75294.diff
Tue, Sep 1, 11:12 PM
F169568570: D25925.id.diff
Tue, Sep 1, 10:58 PM
Unknown Object (File)
Mon, Aug 31, 1:10 AM
Unknown Object (File)
Sun, Aug 30, 11:33 PM
Unknown Object (File)
Sun, Aug 30, 10:57 PM
Unknown Object (File)
Sun, Aug 30, 10:47 PM
Unknown Object (File)
Sun, Aug 30, 7:09 AM
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