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
F167882916: D25925.id75294.diff
Tue, Aug 25, 5:55 AM
F167882574: D25925.diff
Tue, Aug 25, 5:51 AM
Unknown Object (File)
Mon, Aug 24, 2:27 PM
Unknown Object (File)
Wed, Aug 12, 4:04 PM
Unknown Object (File)
Wed, Aug 12, 4:04 PM
Unknown Object (File)
Wed, Aug 12, 4:04 PM
Unknown Object (File)
Mon, Jul 27, 4:21 PM
Unknown Object (File)
Jul 21 2026, 3:34 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32713
Build 30157: arc lint + arc unit