diff options
author | Michael Brown <mcb30@ipxe.org> | 2022-09-14 23:10:25 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2022-09-15 15:20:58 +0100 |
commit | 6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43 (patch) | |
tree | 3c8519934e1e7aa047a4b3003e19ce566db45793 /src | |
parent | 8f5fc161436a020ba65d07f91f62d34f4c22db61 (diff) | |
download | ipxe-6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43.zip ipxe-6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43.tar.gz ipxe-6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43.tar.bz2 |
[linux] Add missing PROVIDE_PCIAPI_INLINE() macros
Ensure type consistency of the PCI I/O API methods by adding the
missing PROVIDE_PCIAPI_INLINE() macros.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/interface/linux/linux_pci.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/interface/linux/linux_pci.c b/src/interface/linux/linux_pci.c index 99c629c..e3c0daa 100644 --- a/src/interface/linux/linux_pci.c +++ b/src/interface/linux/linux_pci.c @@ -187,3 +187,12 @@ int linux_pci_write ( struct pci_device *pci, unsigned long where, err_open: return rc; } + +PROVIDE_PCIAPI_INLINE ( linux, pci_num_bus ); +PROVIDE_PCIAPI_INLINE ( linux, pci_read_config_byte ); +PROVIDE_PCIAPI_INLINE ( linux, pci_read_config_word ); +PROVIDE_PCIAPI_INLINE ( linux, pci_read_config_dword ); +PROVIDE_PCIAPI_INLINE ( linux, pci_write_config_byte ); +PROVIDE_PCIAPI_INLINE ( linux, pci_write_config_word ); +PROVIDE_PCIAPI_INLINE ( linux, pci_write_config_dword ); +PROVIDE_PCIAPI_INLINE ( linux, pci_ioremap ); |