HomeFreeBSD

LinuxKPI: pci: add more functions

Description

LinuxKPI: pci: add more functions

Add a dummy pci_assign_resource() and an implementation of
pci_irq_vector() returning the irq for MSI-X, MSI, and legacy interrupt.
Both are needed by wirless drivers.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D38237

(cherry picked from commit fd1a2f3dfc0e8fb20d0d397d586000bb918aab47)

Details

Provenance
bzAuthored on Jan 28 2023, 3:02 PM
Reviewer
jhb
Differential Revision
D38237: LinuxKPI: pci: add more functions
Parents
rG03a85378b81f: LinuxKPI: PCI: implement support for more than 1 MSI vector
Branches
Unknown
Tags
Unknown