audk/MdeModulePkg/Bus/Pci/XhciDxe
Feng Tian 26cd2d6d2d MdeModulePkg/Xhci: make all timeout values be consistent with comments.
In the original code, there exists some mismatches between the real
waiting time and the corresponding timeout comments. For example, the
XHC_GENERIC_TIMEOUT comment says it's 10ms timeout value, but the real
code in fact waits 10s.

So the code is refined to be consistent in code logic and comments.

Note XHC_POLL_DELAY macro also be removed and the polling interval in
XhcWaitOpRegBit() is changed from 1ms to 1us to keep same code style
with other code. It has no real functionality impact.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18235 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-19 03:41:38 +00:00
..
ComponentName.c 1) remove wrong global variable usage because it will bring data corrupt if there are multiple XHCI host controllers. 2011-09-14 12:13:03 +00:00
ComponentName.h Enabling usb3.0 XHCI support. 2011-08-23 14:36:33 +00:00
UsbHcMem.c MdeModulePkg: Fix typo. 2015-03-13 08:13:16 +00:00
UsbHcMem.h Update XHCI driver to use PCI IO AllocateBuffer/Map/Unmap to do DMA operation. 2013-08-12 08:51:55 +00:00
Xhci.c MdeModulePkg/Usb: Adjust TPL to not block async transfer during usb enum. 2015-08-06 07:13:16 +00:00
Xhci.h MdeModulePkg/Xhci: make all timeout values be consistent with comments. 2015-08-19 03:41:38 +00:00
XhciDxe.inf MdeModulePkg: XhciDxe: list ARM and AARCH64 as valid architectures 2015-03-16 19:57:21 +00:00
XhciDxe.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
XhciDxeExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:53:43 +00:00
XhciReg.c MdeModulePkg/Xhci: make all timeout values be consistent with comments. 2015-08-19 03:41:38 +00:00
XhciReg.h Update XhcWaitOpRegBit to take Timout argument as microsecond. 2013-12-25 07:52:55 +00:00
XhciSched.c MdeModulePkg/Xhci: make all timeout values be consistent with comments. 2015-08-19 03:41:38 +00:00
XhciSched.h MdeModulePkg/XhciDxe: rename "Lenth" to "Length" in TRB structs 2015-04-27 05:25:03 +00:00