]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Mark SNP devices as children of EFI PCI device
authorMichael Brown <mcb30@ipxe.org>
Tue, 15 Mar 2011 16:55:04 +0000 (16:55 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 15 Mar 2011 16:59:19 +0000 (16:59 +0000)
commitb9326c365520806978b6ab9b8532cbc983f36da1
treee4babeb89e442fca60d6841c93fa9af79312368c
parent23daab14a66d407db4ea81811bddf9da95cc35e9
[efi] Mark SNP devices as children of EFI PCI device

Re-open the EFI_PCI_IO_PROTOCOL specifying an Attributes value of
EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.  This causes the SNP devices to
be marked as children of the EFI PCI device (as shown in the "devtree"
command).

On at least one IBM blade system, this is required in order to have
the relevant drivers automatically attach to the SNP controller at
device creation time.

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