Page MenuHomeFreeBSD

LinuxKPI: device.h add (*shutdown)
ClosedPublic

Authored by bz on Jun 4 2025, 12:21 AM.
Tags
None
Referenced Files
F140936479: D50679.id54425.diff
Mon, Dec 29, 8:38 PM
Unknown Object (File)
Sun, Dec 21, 11:19 PM
Unknown Object (File)
Fri, Dec 12, 11:17 PM
Unknown Object (File)
Nov 25 2025, 3:34 AM
Unknown Object (File)
Oct 27 2025, 2:39 AM
Unknown Object (File)
Oct 26 2025, 8:15 PM
Unknown Object (File)
Oct 21 2025, 5:10 AM
Unknown Object (File)
Oct 13 2025, 12:35 AM
Subscribers

Details

Summary

There are too many ways to call (*shutdown)() and others in Linux
it seems; rather than using the one from dev_pm_ops or directly
on the bus system device, some wireless drivers are setting it on
struct device_driver so add it.

Bump __FreeBSD_version as this changes the size of various other
structs which have struct device_driver embedded.

Sponsored by: The FreeBSD Foundation

Diff Detail

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