From: Michael Brown Date: Thu, 31 Jul 2014 11:45:18 +0000 (+0100) Subject: [efi] Dump handle information around connect/disconnect attempts X-Git-Tag: v1.20.1~1099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7023923db2eef64fcc3ec38fbe1054a47db1036b;p=thirdparty%2Fipxe.git [efi] Dump handle information around connect/disconnect attempts Signed-off-by: Michael Brown --- diff --git a/src/interface/efi/efi_driver.c b/src/interface/efi/efi_driver.c index 715ec38b6..1f9c74911 100644 --- a/src/interface/efi/efi_driver.c +++ b/src/interface/efi/efi_driver.c @@ -490,9 +490,15 @@ static int efi_driver_connect ( EFI_HANDLE device ) { } /* Disconnect any existing drivers */ + DBGC2 ( device, "EFIDRV %p %s before disconnecting:\n", + device, efi_handle_name ( device ) ); + DBGC2_EFI_PROTOCOLS ( device, device ); DBGC ( device, "EFIDRV %p %s disconnecting existing drivers\n", device, efi_handle_name ( device ) ); bs->DisconnectController ( device, NULL, NULL ); + DBGC2 ( device, "EFIDRV %p %s after disconnecting:\n", + device, efi_handle_name ( device ) ); + DBGC2_EFI_PROTOCOLS ( device, device ); /* Connect our driver */ DBGC ( device, "EFIDRV %p %s connecting new drivers\n", @@ -505,6 +511,9 @@ static int efi_driver_connect ( EFI_HANDLE device ) { strerror ( rc ) ); return rc; } + DBGC2 ( device, "EFIDRV %p %s after connecting:\n", + device, efi_handle_name ( device ) ); + DBGC2_EFI_PROTOCOLS ( device, device ); return 0; }