]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Allow discovery of PCI bus:dev.fn address ranges
authorMichael Brown <mcb30@ipxe.org>
Wed, 14 Aug 2024 22:40:50 +0000 (23:40 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 15 Aug 2024 08:39:01 +0000 (09:39 +0100)
commit950f6b5861d8d6b247b37e4e1401d26d8f908ee8
tree66b9e88f99b4a4dfbe7adccadeef582b512282c3
parent7c82ff0b6b12437bfc25d01d52308fc6fe2e1311
[efi] Allow discovery of PCI bus:dev.fn address ranges

Generalise the logic for identifying the matching PCI root bridge I/O
protocol to allow for identifying the closest matching PCI bus:dev.fn
address range, and use this to provide PCI address range discovery
(while continuing to inhibit automatic PCI bus probing).

This allows the "pciscan" command to work as expected under UEFI.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/efi_pci_api.h
src/interface/efi/efi_pci.c