[efi] Use efi_handle_name() instead of efi_handle_devpath_text()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2014-07-31 10:44:25 +01:00
parent 736fcf60d1
commit 2e0821b9ed
8 changed files with 49 additions and 88 deletions

View File

@@ -49,7 +49,7 @@ static int snp_supported ( EFI_HANDLE device ) {
/* Check that this is not a device we are providing ourselves */
if ( find_snpdev ( device ) != NULL ) {
DBGCP ( device, "SNP %p %s is provided by this binary\n",
device, efi_handle_devpath_text ( device ) );
device, efi_handle_name ( device ) );
return -ENOTTY;
}
@@ -59,11 +59,11 @@ static int snp_supported ( EFI_HANDLE device ) {
NULL, efi_image_handle, device,
EFI_OPEN_PROTOCOL_TEST_PROTOCOL))!=0){
DBGCP ( device, "SNP %p %s is not an SNP device\n",
device, efi_handle_devpath_text ( device ) );
device, efi_handle_name ( device ) );
return -EEFI ( efirc );
}
DBGC ( device, "SNP %p %s is an SNP device\n",
device, efi_handle_devpath_text ( device ) );
device, efi_handle_name ( device ) );
return 0;
}

View File

@@ -43,7 +43,7 @@ static int snponly_supported ( EFI_HANDLE device ) {
return -ENOTTY;
DBGC ( device, "SNP %p %s is the SNP chainloading device\n",
device, efi_handle_devpath_text ( device ) );
device, efi_handle_name ( device ) );
return 0;
}