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.

Approved by: re@ (gjb)
Sponsored by: Netflix
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34773

(cherry picked from commit 1cdb25340f8ee5dd145b0dc370cbab1bd7bdca65)
(cherry picked from commit 4859994c42950600b57e9d2259bd027562eefbe3)

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
rG43b329596f19: linuxkpi: Move lkpi_pci_devres_get_alloc into .c file
Branches
Unknown
Tags
Unknown