Page MenuHomeFreeBSD

linuxkpi: Define `pci_reset_function()` in <linux/pci.h>
ClosedPublic

Authored by dumbbell on Nov 11 2022, 6:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 8, 12:54 AM
Unknown Object (File)
Sun, Dec 7, 5:14 AM
Unknown Object (File)
Mon, Dec 1, 11:11 AM
Unknown Object (File)
Sat, Nov 29, 9:37 PM
Unknown Object (File)
Sun, Nov 16, 11:41 AM
Unknown Object (File)
Nov 4 2025, 3:32 AM
Unknown Object (File)
Oct 30 2025, 4:50 AM
Unknown Object (File)
Oct 29 2025, 7:22 PM

Details

Summary

Currently, it always returns an error on FreeBSD.

This change is a requirement to update our DRM drivers to Linux 5.12.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bz added a subscriber: bz.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/pci.h
947

Would there be any harm in implementing it? I am just asking what the effects would be on drm-kmod -- or what they are now if this doesn't work?

This revision is now accepted and ready to land.Nov 11 2022, 7:05 PM

I admit I didn't digged deeper into this yet. My focus was on finishing the backport of Linux 5.12 drivers. But I will take a look to understand what the impact is in the drivers.