HomeFreeBSD

Add sc_parent to the softc and use it in place of device_get_parent() calls

Description

Add sc_parent to the softc and use it in place of device_get_parent() calls
all over the place. Also pass the softc as the arg to all the internal
functions instead of passing a device_t and calling device_get_softc() in
each function.

Details

Provenance
ianAuthored on
Parents
rS331135: Use __syscall(2) rather than syscall(2) in syscall/tst.args.c.
Branches
Unknown
Tags
Unknown