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
F144458228: D35063.id105419.diff
Sun, Feb 8, 1:24 PM
Unknown Object (File)
Sat, Feb 7, 7:41 PM
Unknown Object (File)
Fri, Jan 30, 10:07 PM
Unknown Object (File)
Dec 23 2025, 5:08 AM
Unknown Object (File)
Dec 3 2025, 10:52 PM
Unknown Object (File)
Nov 25 2025, 7:15 PM
Unknown Object (File)
Nov 24 2025, 8:47 PM
Unknown Object (File)
Nov 24 2025, 8:47 PM
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.