summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c
diff options
context:
space:
mode:
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-27 12:07:38 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-27 12:07:38 +0000
commita50f7c4c0985f1659d4b24e94f6d3aee9f6922dd (patch)
tree45191a4524455724f0ef0355cff67088ae4053e1 /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c
parentecc722ad418a926af4e383f8977444717786fe20 (diff)
downloadedk2-platforms-a50f7c4c0985f1659d4b24e94f6d3aee9f6922dd.tar.xz
MdeModulePkg/XhciDxe: Event Ring traverse algorithm enhancement to avoid that those completed async transfer events don't get handled in time and are flushed by newer coming events.
Signed-off-by: erictian Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13145 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c
index e0f67dd1d9..78af917ca0 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c
@@ -2,7 +2,7 @@
Unified interface for RootHub and Hub.
-Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -844,12 +844,6 @@ UsbHubGetPortStatus (
Status = UsbHubCtrlGetPortStatus (HubIf->Device, Port, PortState);
- //
- // Mark the USB_PORT_STAT_SUPER_SPEED bit if SuperSpeed
- //
- if (HubIf->Device->Speed == EFI_USB_SPEED_SUPER) {
- PortState->PortStatus |= USB_PORT_STAT_SUPER_SPEED;
- }
return Status;
}