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)
Mon, Oct 13, 12:35 AM
Unknown Object (File)
Mon, Sep 29, 5:16 AM
Unknown Object (File)
Tue, Sep 16, 5:23 AM
Unknown Object (File)
Mon, Sep 15, 10:29 AM
Unknown Object (File)
Mon, Sep 15, 6:23 AM
Unknown Object (File)
Sep 9 2025, 5:22 PM
Unknown Object (File)
Sep 2 2025, 5:27 PM
Unknown Object (File)
Aug 25 2025, 10:06 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