]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Dump handle information around connect/disconnect attempts
authorMichael Brown <mcb30@ipxe.org>
Thu, 31 Jul 2014 11:45:18 +0000 (12:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 31 Jul 2014 11:50:14 +0000 (12:50 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_driver.c

index 715ec38b6c8bae33a1a787095f4237db7d79afbe..1f9c74911316db4a0b84a09a3712ce2bbb72646b 100644 (file)
@@ -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;
 }