diff options
| author | Michael Brown | 2014-07-31 13:28:26 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-07-31 13:50:14 +0200 |
| commit | 16d99cc8ef3b816072e78c2d640e193d0359163f (patch) | |
| tree | d67c4ea6b805344e877259d15bb922f5d3c2ff85 /src/interface/efi/efi_pci.c | |
| parent | [efi] Avoid unnecessarily passing pointers to EFI_HANDLEs (diff) | |
| download | ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.tar.gz ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.tar.xz ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.zip | |
[efi] Dump existing openers when we are unable to open a protocol
Dump the existing openers of a protocol whenever we are unable to open
a protocol using attributes of BY_DEVICE, EXCLUSIVE, or
BY_CHILD_CONTROLLER.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_pci.c')
| -rw-r--r-- | src/interface/efi/efi_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/efi/efi_pci.c b/src/interface/efi/efi_pci.c index 1cd4e63b2..785ed8911 100644 --- a/src/interface/efi/efi_pci.c +++ b/src/interface/efi/efi_pci.c @@ -292,6 +292,7 @@ static int efipci_start ( struct efi_device *efidev ) { pci ) ) != 0 ) { DBGC ( device, "EFIPCI %p %s could not open PCI device: %s\n", device, efi_handle_name ( device ), strerror ( rc ) ); + DBGC_EFI_OPENERS ( device, device, &efi_pci_io_protocol_guid ); goto err_open; } |
