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

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