Page MenuHomeFreeBSD

LinuxKPI: device.h add (*shutdown)
ClosedPublic

Authored by bz on Jun 4 2025, 12:21 AM.
Tags
None
Referenced Files
F124675467: D50679.id.diff
Tue, Jul 29, 3:24 AM
F124647890: D50679.diff
Mon, Jul 28, 9:50 PM
Unknown Object (File)
Mon, Jul 28, 9:24 PM
Unknown Object (File)
Mon, Jul 28, 8:46 PM
Unknown Object (File)
Mon, Jul 28, 8:36 PM
Unknown Object (File)
Mon, Jul 28, 8:29 PM
Unknown Object (File)
Mon, Jul 28, 7:08 PM
Unknown Object (File)
Mon, Jul 28, 6:49 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