aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include/ipxe/pcibios.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/include/ipxe/pcibios.h')
-rw-r--r--src/arch/x86/include/ipxe/pcibios.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/x86/include/ipxe/pcibios.h b/src/arch/x86/include/ipxe/pcibios.h
index 3caea1cfe..ef9585654 100644
--- a/src/arch/x86/include/ipxe/pcibios.h
+++ b/src/arch/x86/include/ipxe/pcibios.h
@@ -33,6 +33,16 @@ extern int pcibios_write ( struct pci_device *pci, uint32_t command,
uint32_t value );
/**
+ * Check if PCI bus probing is allowed
+ *
+ * @ret ok Bus probing is allowed
+ */
+static inline __always_inline int
+PCIAPI_INLINE ( pcbios, pci_can_probe ) ( void ) {
+ return 1;
+}
+
+/**
* Read byte from PCI configuration space via PCI BIOS
*
* @v pci PCI device