Page MenuHomeFreeBSD

linuxkpi: Add <linux/mfd/core.h>
ClosedPublic

Authored by dumbbell on Mar 8 2026, 1:24 PM.
Tags
None
Referenced Files
F161601947: D55736.id175006.diff
Sun, Jul 5, 6:23 AM
F161567285: D55736.id173355.diff
Sat, Jul 4, 10:47 PM
Unknown Object (File)
Fri, Jul 3, 10:52 AM
Unknown Object (File)
Mon, Jun 29, 4:09 AM
Unknown Object (File)
Wed, Jun 24, 8:39 PM
Unknown Object (File)
Tue, Jun 23, 5:29 PM
Unknown Object (File)
Tue, Jun 23, 6:19 AM
Unknown Object (File)
Sat, Jun 20, 9:35 AM
Subscribers

Details

Summary

To be exact, there was a dummy file with no content before. This commit defines struct mfd_cell and adds two function stubs.

The function stubs are not implemented but still return success. They log a message to indicate they need to be implemented.

Also, unlike Linux, <linux/mfd/core.h> includes <linux/ioport.h>. This works around the fact that we can't include <linux/ioport.h> from <linux/pci.h>, due to a conflict with the FreeBSD-native struct resource.

The amdgpu DRM driver started to use it in Linux 6.11.

This is part of the update of DRM drivers to Linux 6.11.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable