Page MenuHomeFreeBSD

LinuxKPI: device.h add (*shutdown)
ClosedPublic

Authored by bz on Jun 4 2025, 12:21 AM.
Tags
None
Referenced Files
F132921193: D50679.id157920.diff
Tue, Oct 21, 5:10 AM
Unknown Object (File)
Mon, Oct 13, 12:35 AM
Unknown Object (File)
Mon, Sep 29, 5:16 AM
Unknown Object (File)
Sep 16 2025, 5:23 AM
Unknown Object (File)
Sep 15 2025, 10:29 AM
Unknown Object (File)
Sep 15 2025, 6:23 AM
Unknown Object (File)
Sep 9 2025, 5:22 PM
Unknown Object (File)
Sep 2 2025, 5:27 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