Page MenuHomeFreeBSD

LinuxKPI: device.h add (*shutdown)
ClosedPublic

Authored by bz on Jun 4 2025, 12:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 29 2026, 4:27 PM
Unknown Object (File)
May 29 2026, 12:21 PM
Unknown Object (File)
May 28 2026, 10:31 PM
Unknown Object (File)
May 26 2026, 8:46 PM
Unknown Object (File)
May 17 2026, 4:17 PM
Unknown Object (File)
May 17 2026, 3:19 PM
Unknown Object (File)
May 11 2026, 4:47 AM
Unknown Object (File)
May 11 2026, 4:46 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