summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-16 13:16:31 +0200
committerMichael Brown2005-04-16 13:16:31 +0200
commit6e5a3858bff856e41955523e8ffc0251ce601d80 (patch)
tree0ef75b19425618f7e848d4ca5d76673383615645 /src/include
parentImproved debugging output (diff)
downloadipxe-6e5a3858bff856e41955523e8ffc0251ce601d80.tar.gz
ipxe-6e5a3858bff856e41955523e8ffc0251ce601d80.tar.xz
ipxe-6e5a3858bff856e41955523e8ffc0251ce601d80.zip
Read number of PCI buses returned by BIOS so that we can scan more
quickly.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/pci.h b/src/include/pci.h
index ee1631de8..9b7fcadae 100644
--- a/src/include/pci.h
+++ b/src/include/pci.h
@@ -319,6 +319,13 @@ extern int pci_write_config_dword ( struct pci_device *dev, unsigned int where,
extern unsigned long pci_bus_base ( struct pci_device *dev );
/*
+ * pci_io.c is allowed to overwrite pci_max_bus if it knows what the
+ * highest bus in the system will be.
+ *
+ */
+extern unsigned int pci_max_bus;
+
+/*
* Functions in pci.c
*
*/