audk/MdeModulePkg
Feng Tian 26b8501280 MdeModulePkg/Xhci: Add 10ms delay before sending SendAddr cmd to dev
We send ADDRESS DEVICE CMD in XhcInitializeDeviceSlot(), which will
cause XHC issue a USB SET_ADDRESS request to the USB Device.

According to USB spec, there should have a 10ms delay before this
operation after resetting a given port.

But in original code, there is a possible path which may have no such
10ms delay:
UsbHubResetPort()->UsbHubSetPortFeature()->Stall(20)->UsbHubGetPortSt
atus()->XhcPollPortStatusChange()->(if RESET_C bit is set)->
XhcInitializeDeviceSlot()->(if RESET_C bit is set)->Stall(10)

So this patch is used to fix above issue.

Cc: Star Zeng <star.zeng@intel.com>
Cc: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Tested-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2016-11-24 12:44:50 +08:00
..
Application MdeModulePkg CapsuleApp: ASSERT to ensure 'CapsuleIndex' is not NULL 2016-11-22 16:31:23 +08:00
Bus MdeModulePkg/Xhci: Add 10ms delay before sending SendAddr cmd to dev 2016-11-24 12:44:50 +08:00
Core MdeModulePkg/PiSmmCore: Cache CommunicationBuffer info before using it 2016-11-22 15:22:17 +08:00
Include MdeModulePkg/EbcDxe: reorganize EBC header definitions 2016-11-23 10:20:28 +08:00
Library MdeModulePkg/DxeNetLib: Allow the IPv4/prefix case when AsciiStrToIp4 2016-11-23 14:01:52 +08:00
Logo MdeModulePkg/Logo: rebase to ARRAY_SIZE() 2016-10-27 11:10:57 +02:00
Universal MdeModulePkg/EbcDxe: reorganize EBC header definitions 2016-11-23 10:20:28 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt
MdeModulePkg.dec MdeModulePkg/dec: Add gEdkiiPiSmmMemoryAttributesTableGuid. 2016-11-17 16:30:03 +08:00
MdeModulePkg.dsc MdeModulePkg/EbcDxe: add EBC Debugger 2016-11-23 10:20:26 +08:00
MdeModulePkg.uni MdeModulePkg: Add PcdPciDegradeResourceForOptionRom prompt&help to UNI 2016-10-25 10:52:44 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00