diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-07-31 12:28:26 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-07-31 12:50:14 +0100 |
commit | 16d99cc8ef3b816072e78c2d640e193d0359163f (patch) | |
tree | d67c4ea6b805344e877259d15bb922f5d3c2ff85 /src/drivers/net/efi/snpnet.c | |
parent | 4a480f1d1565aa5972c4fc27ceec8ae4b9b1e86c (diff) | |
download | ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.tar.gz |
[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/drivers/net/efi/snpnet.c')
-rw-r--r-- | src/drivers/net/efi/snpnet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/net/efi/snpnet.c b/src/drivers/net/efi/snpnet.c index acba3ed36..766eb42d2 100644 --- a/src/drivers/net/efi/snpnet.c +++ b/src/drivers/net/efi/snpnet.c @@ -407,6 +407,8 @@ int snpnet_start ( struct efi_device *efidev ) { rc = -EEFI ( efirc ); DBGC ( device, "SNP %p %s cannot open SNP protocol: %s\n", device, efi_handle_name ( device ), strerror ( rc ) ); + DBGC_EFI_OPENERS ( device, device, + &efi_simple_network_protocol_guid ); goto err_open_protocol; } |