[pci] Support systems with multiple PCI root bridges
authorMichael Brown <mcb30@ipxe.org>
Thu, 9 Jun 2016 08:36:28 +0000 (09:36 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 9 Jun 2016 08:36:28 +0000 (09:36 +0100)
commitf76210961c76a3f54f673d668e21e30d2eed9612
treedf0eb4b64085a587d2df39bcee478a6b320b9c01
parent2c197517f2a82970ab6866e197f06a3099418324
[pci] Support systems with multiple PCI root bridges

Extend the 16-bit PCI bus:dev.fn address to a 32-bit seg:bus:dev.fn
address, assuming a segment value of zero in contexts where multiple
segments are unsupported by the underlying data structures (e.g. in
the iBFT or BOFM tables).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/core/pcidirect.c
src/core/settings.c
src/drivers/bus/pci.c
src/drivers/bus/pci_settings.c
src/drivers/net/phantom/phantom.c
src/include/ipxe/pci.h
src/interface/bofm/bofm.c
src/interface/efi/efi_pci.c
src/tests/settings_test.c