edk2/MdeModulePkg
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
..
Application MdeModulePkg:Fix the issue that Commit changes and Exit fail when add driver option 2015-08-14 01:06:48 +00:00
Bus MdeModulePkg/Xhci: make all timeout values be consistent with comments. 2015-08-19 03:41:38 +00:00
Core MdeModulePkg DxeIpl: Fix IA32 build failure with GCC 5.1.1 2015-08-07 23:53:53 +00:00
Include MdeModulePkg: Use monotonic count to initialize the NetLib random seed. 2015-08-07 03:22:10 +00:00
Library MdeModulePkg: Add codes to support trailer parse in HttpLib. 2015-08-12 12:44:31 +00:00
Logo MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Universal MdeModulePkg: IP4 should re-initiate a DHCP if it detects network reconnection 2015-08-18 03:12:16 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg DxeIpl: Add stack NX support 2015-08-05 12:45:21 +00:00
MdeModulePkg.dsc UiApp code split from IntelFrameworkModulePkg/Universal/BdsDxe driver. 2015-07-30 03:41:35 +00:00
MdeModulePkg.uni MdeModulePkg DxeIpl: Add stack NX support 2015-08-05 12:45:21 +00:00
MdeModulePkgExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:55:48 +00:00