]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/XhciDxe: Refine IsTransferRingTrb and IsAsyncIntTrb
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 28 Jun 2017 08:55:12 +0000 (16:55 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 5 Jul 2017 03:31:05 +0000 (11:31 +0800)
commit5a4b3388aaca684db837fadf404c98852e8449c8
tree7b828f7881208998ba2e91f7e9a7b7d6590bfd4f
parent1e6add9e476696461526163bde843570cfdffb39
MdeModulePkg/XhciDxe: Refine IsTransferRingTrb and IsAsyncIntTrb

Current implementation of IsTransferRingTrb only checks whether
the TRB is in the RING of the URB.
The patch enhanced the logic to check that whether the TRB belongs
to the transaction of URB.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c