]> git.proxmox.com Git - mirror_edk2.git/commit
MdedulePkg: AtaAtapiPassThru: Remove polling on PxCMD.FR flag setting
authorJan D?bro? <jsd@semihalf.com>
Tue, 21 Jun 2016 00:37:06 +0000 (08:37 +0800)
committerFeng Tian <feng.tian@intel.com>
Wed, 22 Jun 2016 08:23:58 +0000 (16:23 +0800)
commit5e90aa1e207344723b28dd87bb5af14a0a775494
tree72dba9a3fa6dc18410691e3f25c7905d432051b3
parent59e2626181051dec0068bc4fcce9a88b9c8f084e
MdedulePkg: AtaAtapiPassThru: Remove polling on PxCMD.FR flag setting

It is enough to set PxCMD.FRE bit, which cause HBA to post received FISes
into the FIS receive area. According to AHCI Specification, only polling on
PxCMD.FRE to be cleared is necessary, when it is needeed to stop FIS engine
(eg. in order to change PxCMD.FB address).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c