summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_sysfs.c
diff options
context:
space:
mode:
authorMichael Brown2021-04-10 14:14:30 +0200
committerMichael Brown2021-04-10 16:05:05 +0200
commit0be8491b717fec6697dbf6ef8ac07604e062ecb1 (patch)
tree1f5d84a13dbd6113e7e884a2795e6e01cdda3a31 /src/interface/linux/linux_sysfs.c
parent[intel] Add additional PCI device ID to table (diff)
downloadipxe-0be8491b717fec6697dbf6ef8ac07604e062ecb1.tar.gz
ipxe-0be8491b717fec6697dbf6ef8ac07604e062ecb1.tar.xz
ipxe-0be8491b717fec6697dbf6ef8ac07604e062ecb1.zip
[pci] Avoid scanning nonexistent buses when using PCIAPI_DIRECT
There is no method for obtaining the number of PCI buses when using PCIAPI_DIRECT, and we therefore currently scan all possible bus numbers. This can cause a several-second startup delay in some virtualised environments, since PCI configuration space access will necessarily require the involvement of the hypervisor. Ameliorate this situation by defaulting to scanning only a single bus, and expanding the number of PCI buses to accommodate any subordinate buses that are detected during enumeration. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_sysfs.c')
0 files changed, 0 insertions, 0 deletions