Page MenuHomeFreeBSD

pbio: Store softc in si_drv1 for character devices.
ClosedPublic

Authored by jhb on Apr 27 2022, 3:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 1 2024, 12:12 PM
Unknown Object (File)
Oct 1 2024, 7:35 AM
Unknown Object (File)
Oct 1 2024, 4:46 AM
Unknown Object (File)
Sep 24 2024, 9:01 AM
Unknown Object (File)
Sep 22 2024, 6:47 PM
Unknown Object (File)
Sep 22 2024, 12:52 PM
Unknown Object (File)
Sep 18 2024, 5:09 PM
Unknown Object (File)
Sep 6 2024, 12:17 AM
Subscribers
None

Details

Summary

The port number is still stored in the unit (si_drv0) but is the
entire unit value now.

While here, removed checks for NULL softc since those can never happen
from cdevsw routines. This also resulted in the close method becoming
a no-op, so it has been removed.

Diff Detail

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