From 16d99cc8ef3b816072e78c2d640e193d0359163f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 31 Jul 2014 12:28:26 +0100 Subject: [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 --- src/interface/efi/efi_pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/interface/efi/efi_pci.c') 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; } -- cgit v1.2.3-55-g7522