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
F151442432: D25925.diff
Wed, Apr 8, 10:48 AM
F151372588: D25925.diff
Tue, Apr 7, 11:15 PM
Unknown Object (File)
Sun, Mar 29, 11:01 AM
Unknown Object (File)
Sat, Mar 28, 3:58 PM
Unknown Object (File)
Sat, Mar 28, 7:08 AM
Unknown Object (File)
Tue, Mar 24, 11:30 PM
Unknown Object (File)
Wed, Mar 18, 7:04 AM
Unknown Object (File)
Tue, Mar 17, 2:58 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