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
F145184717: D25925.id75313.diff
Mon, Feb 16, 9:19 PM
Unknown Object (File)
Sat, Feb 14, 7:02 AM
Unknown Object (File)
Fri, Feb 13, 1:46 PM
Unknown Object (File)
Fri, Feb 13, 6:44 AM
Unknown Object (File)
Fri, Jan 23, 3:03 PM
Unknown Object (File)
Jan 18 2026, 2:21 AM
Unknown Object (File)
Jan 16 2026, 2:21 AM
Unknown Object (File)
Dec 19 2025, 12:59 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