Browse Source

[efi] Dump handle information around connect/disconnect attempts

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 years ago
parent
commit
7023923db2
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/interface/efi/efi_driver.c

+ 9
- 0
src/interface/efi/efi_driver.c View File

490
 	}
490
 	}
491
 
491
 
492
 	/* Disconnect any existing drivers */
492
 	/* Disconnect any existing drivers */
493
+	DBGC2 ( device, "EFIDRV %p %s before disconnecting:\n",
494
+		device, efi_handle_name ( device ) );
495
+	DBGC2_EFI_PROTOCOLS ( device, device );
493
 	DBGC ( device, "EFIDRV %p %s disconnecting existing drivers\n",
496
 	DBGC ( device, "EFIDRV %p %s disconnecting existing drivers\n",
494
 	       device, efi_handle_name ( device ) );
497
 	       device, efi_handle_name ( device ) );
495
 	bs->DisconnectController ( device, NULL, NULL );
498
 	bs->DisconnectController ( device, NULL, NULL );
499
+	DBGC2 ( device, "EFIDRV %p %s after disconnecting:\n",
500
+		device, efi_handle_name ( device ) );
501
+	DBGC2_EFI_PROTOCOLS ( device, device );
496
 
502
 
497
 	/* Connect our driver */
503
 	/* Connect our driver */
498
 	DBGC ( device, "EFIDRV %p %s connecting new drivers\n",
504
 	DBGC ( device, "EFIDRV %p %s connecting new drivers\n",
505
 		       strerror ( rc ) );
511
 		       strerror ( rc ) );
506
 		return rc;
512
 		return rc;
507
 	}
513
 	}
514
+	DBGC2 ( device, "EFIDRV %p %s after connecting:\n",
515
+		device, efi_handle_name ( device ) );
516
+	DBGC2_EFI_PROTOCOLS ( device, device );
508
 
517
 
509
 	return 0;
518
 	return 0;
510
 }
519
 }

Loading…
Cancel
Save