HomeFreeBSD

LinuxKPI: pci: add [linuxkpi_]pci_get_device()

Description

LinuxKPI: pci: add [linuxkpi_]pci_get_device()

Add a version of pci_get_device() as linuxkpi_pci_get_device()
not (yet) supporting the last argument.
Due to conflicts we cannot redefine it as we would normally do
in LinuxKPI so drivers have to be adjusted.

Differential Revision: https://reviews.freebsd.org/D37593

(cherry picked from commit 8f61992d7cc1108cebc1337451a15a0af420984c)

Details

Provenance
bzAuthored on Dec 2 2022, 10:14 PM
Differential Revision
D37593: LinuxKPI: pci: add pci_get_device()
Parents
rG3292a54f1ba9: LinuxKPI: fix pci_alloc_irq_vectors() for MSI
Branches
Unknown
Tags
Unknown