[efi] Allow driver to be unloaded

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2014-03-10 16:39:46 +00:00
parent 9681170fbe
commit 8de6b973c4
5 changed files with 159 additions and 4 deletions
+3
View File
@@ -519,6 +519,9 @@ static void efipci_driver_shutdown ( int booting __unused ) {
struct efi_pci_device *efipci;
struct efi_pci_device *tmp;
/* Uninstall driver */
efi_driver_uninstall ( efidrv );
/* Shut down any remaining devices */
list_for_each_entry_safe ( efipci, tmp, &efi_pci_devices, list ) {
DBGC ( efipci, "EFIPCI " PCI_FMT " still active at shutdown; "