Page MenuHomeFreeBSD

LinuxKPI: device.h add (*shutdown)
ClosedPublic

Authored by bz on Jun 4 2025, 12:21 AM.
Tags
None
Referenced Files
F164316574: D50679.id.diff
Thu, Jul 30, 5:28 PM
F164269941: D50679.diff
Thu, Jul 30, 6:16 AM
Unknown Object (File)
Wed, Jul 29, 8:50 AM
Unknown Object (File)
Sat, Jul 25, 2:08 PM
Unknown Object (File)
Sat, Jul 25, 3:07 AM
Unknown Object (File)
Thu, Jul 9, 6:56 PM
Unknown Object (File)
May 29 2026, 4:27 PM
Unknown Object (File)
May 29 2026, 12:21 PM
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