diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-06-05 20:22:06 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-06-05 20:22:06 +0000 |
commit | 8444bb77c91cf8a23d32b3cc9749e2a3d3f9f9eb (patch) | |
tree | 8b662b942a260167ebd2b0dab3000b7ada4e140e /hw/xfree86/os-support/bus/linuxPci.c | |
parent | 11cf4d2fde9219e8d6ca427acae89a0c9f5d71b1 (diff) |
When we can, bound the maximum number of PCI devices to attempt to scan, by
the number found on the system. Only implemented for Linux right now.
Diffstat (limited to 'hw/xfree86/os-support/bus/linuxPci.c')
-rw-r--r-- | hw/xfree86/os-support/bus/linuxPci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c index 3e82f211b..0714c9cea 100644 --- a/hw/xfree86/os-support/bus/linuxPci.c +++ b/hw/xfree86/os-support/bus/linuxPci.c @@ -108,6 +108,9 @@ static pciBusInfo_t linuxPci0 = { /* bridge */ NULL }; +/* from lnx_pci.c. */ +extern int lnxPciInit(void); + void linuxPciInit() { @@ -123,6 +126,7 @@ linuxPciInit() pciFindFirstFP = pciGenFindFirst; pciFindNextFP = pciGenFindNext; pciSetOSBIOSPtr(linuxPciHandleBIOS); + xf86MaxPciDevs = lnxPciInit(); } static int |