HomeFreeBSD

linuxkpi: Define `PCI_IRQ_LEGACY` for Linux < 6.10

Description

linuxkpi: Define PCI_IRQ_LEGACY for Linux < 6.10

Commit 03e39d3d42e70482cd6f65ecaa5cf8ff9674d27c decreased the Linux
version that exposes this constant to be Linux 6.7. It happens that the
constant is older.

However, it is removed in Linux 6.10. Let's change the version condition
to say that it is defined for any version before 6.10.

Reported by: bz
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48861

Details

Provenance
dumbbellAuthored on Feb 5 2025, 6:11 PM
Reviewer
bz
Differential Revision
D48861: linuxkpi: Define `PCI_IRQ_LEGACY` for Linux < 6.10
Parents
rG585cdb74f4a6: linuxkpi: Defaults to `get_file_rcu()` version from Linux 6.7
Branches
Unknown
Tags
Unknown