Page MenuHomeFreeBSD

ofw: Convert simplebus to device_get_softc_class().
ClosedPublic

Authored by mmel on Sat, Sep 19, 8:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 12, 12:06 AM
Unknown Object (File)
Sun, Oct 11, 2:37 PM
Unknown Object (File)
Sun, Oct 11, 3:32 AM
Unknown Object (File)
Sat, Oct 10, 9:19 AM
Unknown Object (File)
Wed, Oct 7, 10:07 AM
Unknown Object (File)
Tue, Oct 6, 4:00 AM
Unknown Object (File)
Tue, Oct 6, 4:00 AM
Unknown Object (File)
Thu, Oct 1, 5:47 PM
Subscribers

Details

Summary

Stop embedding struct simplebus_softc as the first member of subclass
softcs. Use device_get_softc_class() to locate the simplebus portion of
the device softc

MFC after: 2 months

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable