HomeFreeBSD

linuxkpi: Move pci_request_region and _lkpi_pci_iomap into .c

Description

linuxkpi: Move pci_request_region and _lkpi_pci_iomap into .c

Both pci_request_region and _lkpi_pci_iomap encode the size of struct
pci_mmio_region into their code. Move from .h to .c files to move that
knowledge from the client drivers into the linuxkpi module.

Sponsored by: Netflix
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34773

(cherry picked from commit 1cdb25340f8ee5dd145b0dc370cbab1bd7bdca65)

Details

Provenance
impAuthored on Apr 5 2022, 5:06 AM
Reviewer
hselasky
Differential Revision
D34773: linuxkpi: Move pci_request_region and _lkpi_pci_iomap into .c
Parents
rG2cd55de380d3: linuxkpi: Move lkpi_pci_devres_get_alloc into .c file
Branches
Unknown
Tags
Unknown