projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update UHCI and ECHI drivers to both Stop and Reset the host controller at ExitBootSe...
[mirror_edk2.git]
/
MdeModulePkg
/
Bus
/
Pci
/
UhciDxe
/
Uhci.c
diff --git
a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
index 92567f93e48d565bd626fbfa84b1bfd68fa8af40..beea8f32d651ec9b411fd8065d4d7fcb19325837 100644
(file)
--- a/
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
+++ b/
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
@@
-1588,7
+1588,11
@@
UhcExitBootService (
//
\r
UhciStopHc (Uhc, UHC_GENERIC_TIMEOUT);
\r
\r
- return;
\r
+ //
\r
+ // Reset the Host Controller
\r
+ //
\r
+ UhciSetRegBit (Uhc->PciIo, USBCMD_OFFSET, USBCMD_HCRESET);
\r
+ gBS->Stall (UHC_ROOT_PORT_RECOVERY_STALL);
\r
}
\r
\r
/**
\r