diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-14 05:06:26 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-14 05:06:26 +0000 |
commit | f0a83bb3087d050ed1eb33a36fb87dc32a488e83 (patch) | |
tree | ab584318b2a7625e3910b54655da0b1459b0fb9e /MdeModulePkg/Bus/Pci | |
parent | 4ee8254a0c2e58a999ce78ffef6d340438363ed9 (diff) | |
download | edk2-platforms-f0a83bb3087d050ed1eb33a36fb87dc32a488e83.tar.xz |
[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/Bus/Pci')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 3 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c index e8fb1120b7..949aa0496a 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 d129af8715..0fc633d8bb 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,
|