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
Unknown Object (File)
Tue, Oct 14, 2:18 AM
Unknown Object (File)
Tue, Oct 14, 2:18 AM
Unknown Object (File)
Tue, Oct 14, 2:18 AM
Unknown Object (File)
Mon, Oct 13, 12:48 PM
Unknown Object (File)
Tue, Oct 7, 7:22 PM
Unknown Object (File)
Sat, Sep 20, 6:35 PM
Unknown Object (File)
Sep 19 2025, 5:49 AM
Unknown Object (File)
Sep 12 2025, 8:21 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.