[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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user