diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c')
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c index 0fc633d8bb..f0aedc753f 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c @@ -1658,7 +1658,9 @@ UhciDriverBindingStart ( // Robustnesss improvement such as for UoL
// Default is not required.
//
- // UhciTurnOffUsbEmulation (PciIo);
+ if (FeaturePcdGet (PcdUsbLegacySupport)) {
+ UhciTurnOffUsbEmulation (PciIo);
+ }
Status = PciIo->Attributes (
PciIo,
|