summaryrefslogtreecommitdiffstats
path: root/src/interface/linux
diff options
context:
space:
mode:
authorMichael Brown2022-09-15 00:10:25 +0200
committerMichael Brown2022-09-15 16:20:58 +0200
commit6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43 (patch)
tree3c8519934e1e7aa047a4b3003e19ce566db45793 /src/interface/linux
parent[ipv6] Ignore SLAAC on prefixes with an incompatible prefix length (diff)
downloadipxe-6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43.tar.gz
ipxe-6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43.tar.xz
ipxe-6459e3b7b18c0e6b200f5c5ad995660ca0e2dd43.zip
[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/interface/linux')
-rw-r--r--src/interface/linux/linux_pci.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/interface/linux/linux_pci.c b/src/interface/linux/linux_pci.c
index 99c629c19..e3c0daa32 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 );