Read number of PCI buses returned by BIOS so that we can scan more

quickly.
This commit is contained in:
Michael Brown
2005-04-16 11:16:31 +00:00
parent e1a9798af4
commit 6e5a3858bf
3 changed files with 37 additions and 12 deletions

View File

@@ -318,6 +318,13 @@ extern int pci_write_config_dword ( struct pci_device *dev, unsigned int where,
uint32_t value );
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
*