mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Fix EHCI module build warning reported by VS2005 tool chain.
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Sun Rui <rui.sun@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13241 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3a69f7cbe7
commit
5e10caa1c1
|
@ -10,7 +10,7 @@
|
||||||
This way avoids the control transfer on a shared port between EHCI and companion host
|
This way avoids the control transfer on a shared port between EHCI and companion host
|
||||||
controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.
|
controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -1524,7 +1524,7 @@ EhcGetUsbDebugPortInfo (
|
||||||
}
|
}
|
||||||
|
|
||||||
Ehc->DebugPortOffset = DebugPort & 0x1FFF;
|
Ehc->DebugPortOffset = DebugPort & 0x1FFF;
|
||||||
Ehc->DebugPortBarNum = (DebugPort >> 13) - 1;
|
Ehc->DebugPortBarNum = (UINT8)((DebugPort >> 13) - 1);
|
||||||
Ehc->DebugPortNum = (UINT8)((Ehc->HcStructParams & 0x00F00000) >> 20);
|
Ehc->DebugPortNum = (UINT8)((Ehc->HcStructParams & 0x00F00000) >> 20);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue