]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Allow EFI to control PCI bus enumeration
authorMichael Brown <mcb30@ipxe.org>
Thu, 17 Feb 2011 00:27:51 +0000 (00:27 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 17 Feb 2011 02:56:55 +0000 (02:56 +0000)
commitd7736fbb7bbf2116e95742affcaf45c2a7ee5476
treeaad56a264b42dcba5e5e491e3eab8a04766a0647
parente2b5a588691c6b0bdb99ca4b27cb8c5ea0ac712b
[efi] Allow EFI to control PCI bus enumeration

EFI performs its own PCI bus enumeration.  Respect this, and start
controlling devices only when instructed to do so by EFI.

As a side benefit, we should now correctly create multiple SNP
instances for multi-port devices.

This should also fix the problem of failing to enumerate devices
because the PCI bridges have not yet been enabled at the time the iPXE
driver is loaded.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/prefix/efidrvprefix.c
src/include/ipxe/efi/efi.h
src/include/ipxe/efi/efi_driver.h [new file with mode: 0644]
src/include/ipxe/efi/efi_pci.h [new file with mode: 0644]
src/interface/efi/efi_driver.c [new file with mode: 0644]
src/interface/efi/efi_pci.c
src/interface/efi/efi_snp.c