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)
Sun, Nov 3, 4:11 AM
Unknown Object (File)
Oct 13 2024, 7:00 PM
Unknown Object (File)
Oct 10 2024, 9:58 PM
Unknown Object (File)
Oct 7 2024, 8:27 PM
Unknown Object (File)
Oct 7 2024, 6:38 PM
Unknown Object (File)
Oct 6 2024, 4:33 PM
Unknown Object (File)
Oct 4 2024, 11:32 PM
Unknown Object (File)
Oct 4 2024, 6:57 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.