Page MenuHomeFreeBSD

smapi: Store softc pointer in si_drv1 of cdev.
ClosedPublic

Authored by jhb on Apr 26 2022, 12:12 AM.
Tags
None
Referenced Files
F97754049: D35063.id105723.diff
Tue, Oct 1, 3:06 AM
F97737103: D35063.id105723.diff
Tue, Oct 1, 1:14 AM
F97726417: D35063.id105419.diff
Tue, Oct 1, 12:04 AM
F97712596: D35063.id105419.diff
Mon, Sep 30, 10:23 PM
F97691927: D35063.id105723.diff
Mon, Sep 30, 7:38 PM
F97633544: D35063.id105419.diff
Mon, Sep 30, 12:10 PM
Unknown Object (File)
Mon, Sep 30, 3:15 AM
Unknown Object (File)
Fri, Sep 27, 9:23 AM
Subscribers
None

Details

Summary

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

Diff Detail

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

Event Timeline

jhb requested review of this revision.Apr 26 2022, 12:12 AM
jhb created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.May 5 2022, 11:43 PM
This revision was automatically updated to reflect the committed changes.