summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-14 05:06:26 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-14 05:06:26 +0000
commitf0a83bb3087d050ed1eb33a36fb87dc32a488e83 (patch)
treeab584318b2a7625e3910b54655da0b1459b0fb9e /MdeModulePkg
parent4ee8254a0c2e58a999ce78ffef6d340438363ed9 (diff)
downloadedk2-f0a83bb3087d050ed1eb33a36fb87dc32a488e83.zip
edk2-f0a83bb3087d050ed1eb33a36fb87dc32a488e83.tar.gz
edk2-f0a83bb3087d050ed1eb33a36fb87dc32a488e83.tar.bz2
[Description]:
Don't need disable the legacy USB SMI in UHCI and EHCI, which is only required by UoL. [Impaction]: Uhci and Ehci driver default don't need disable the legacy USB SMI. [Reference Info]: EDK tracker 1082 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4850 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c3
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
index e8fb112..949aa04 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
@@ -1578,8 +1578,9 @@ EhcDriverBindingStart (
//
// Robustnesss improvement such as for UoL
+ // Default is not required.
//
- EhcClearLegacySupport (Ehc);
+ // EhcClearLegacySupport (Ehc);
EhcResetHC (Ehc, EHC_RESET_TIMEOUT);
Status = EhcInitHC (Ehc);
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
index d129af8..0fc633d 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
@@ -1654,7 +1654,11 @@ UhciDriverBindingStart (
}
PciAttributesSaved = TRUE;
- UhciTurnOffUsbEmulation (PciIo);
+ //
+ // Robustnesss improvement such as for UoL
+ // Default is not required.
+ //
+ // UhciTurnOffUsbEmulation (PciIo);
Status = PciIo->Attributes (
PciIo,