HomeFreeBSD

hptiop: Store softc pointer in si_drv1 of cdev.

Description

hptiop: Store softc pointer in si_drv1 of cdev.

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

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D34993

(cherry picked from commit 517a8a715a8aa94071c058491d22c464a7962f74)

Details

Provenance
jhbAuthored on Apr 21 2022, 5:29 PM
Reviewer
imp
Differential Revision
D34993: hptiop: Store softc pointer in si_drv1 of cdev.
Parents
rGb2aa64d05bd8: Bump __FreeBSD_version for new variants of *DRIVER_MODULE*().
Branches
Unknown
Tags
Unknown