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
Unknown Object (File)
Sat, Jul 5, 8:46 PM
Unknown Object (File)
Sat, Jul 5, 7:47 PM
Unknown Object (File)
Tue, Jul 1, 1:04 PM
Unknown Object (File)
Thu, Jun 19, 7:41 AM
Unknown Object (File)
Sat, Jun 14, 12:10 PM
Unknown Object (File)
Jun 8 2025, 2:20 PM
Unknown Object (File)
Jun 7 2025, 2:25 PM
Unknown Object (File)
Jun 6 2025, 2:17 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