summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2017-07-21 15:48:27 +0200
committerMichael Brown2017-07-21 16:00:17 +0200
commit9ccd8fe569c75265dfa834d325046696e18616de (patch)
tree33fa17f941c9568e44c82dd99b528de242a7c0d8 /src/arch
parent[lan78xx] Add driver for Microchip LAN78xx USB Ethernet NICs (diff)
downloadipxe-9ccd8fe569c75265dfa834d325046696e18616de.tar.gz
ipxe-9ccd8fe569c75265dfa834d325046696e18616de.tar.xz
ipxe-9ccd8fe569c75265dfa834d325046696e18616de.zip
[efi] Enumerate PCI BARs in same order as SnpDxe
The UEFI specification has an implicit and demonstrably incorrect requirement (in the Mem_IO() calling convention) that any UNDI network device has at most one memory BAR and one I/O BAR. Some UEFI platforms have been observed to report the existence of non-existent additional I/O BARs, causing iPXE to select the wrong BAR. This problem does not affect the SnpDxe driver, since that driver will always choose the lowest numbered existent BAR of each type. Adjust iPXE's behaviour to match that of SnpDxe, i.e. to always select the lowest numbered BAR(s). Debugged-by: Andreas Hammarskjöld <junior@2PintSoftware.com> Debugged-by: Adklei <adklei@realtek.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions