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
F110340598: D25925.diff
Mon, Feb 17, 1:49 AM
Unknown Object (File)
Thu, Feb 13, 6:07 AM
Unknown Object (File)
Sat, Jan 25, 7:22 PM
Unknown Object (File)
Fri, Jan 24, 7:06 PM
Unknown Object (File)
Thu, Jan 23, 7:03 PM
Unknown Object (File)
Thu, Jan 23, 6:56 PM
Unknown Object (File)
Thu, Jan 23, 3:22 PM
Unknown Object (File)
Jan 15 2025, 7:00 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

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