HomeFreeBSD

smapi: Store softc pointer in si_drv1 of cdev.

Description

smapi: Store softc pointer in si_drv1 of cdev.

Rather than fetching the softc using the device's unit number as an
index into the devclass.

Differential Revision: https://reviews.freebsd.org/D35063

Details

Provenance
jhbAuthored on May 5 2022, 11:35 PM
Differential Revision
D35063: smapi: Store softc pointer in si_drv1 of cdev.
Parents
rGac56d90a49c5: ipmi: Use devclass_find to lookup ipmi devclass in ipmi_unload.
Branches
Unknown
Tags
Unknown