]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move pci_request_region and _lkpi_pci_iomap into .c
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:06:14 +0000 (23:06 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:06:14 +0000 (23:06 -0600)
commit1cdb25340f8ee5dd145b0dc370cbab1bd7bdca65
tree51ffd98e653411e20b474ff0e8118d801257bacf
parent3ea682e21eed92f31dcfb8a34409580d36c452f7
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
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c