]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c
MdeModulePkg/AtaAtapiPassThru: update AtaStatusBlock after cmd exec
authorFeng Tian <feng.tian@intel.com>
Mon, 31 Oct 2016 05:46:08 +0000 (13:46 +0800)
committerFeng Tian <feng.tian@intel.com>
Tue, 1 Nov 2016 01:17:47 +0000 (09:17 +0800)
commita7b3f90f8a081d90bc4287990e53f367228d53b2
tree93723ab8101ce5927bce03284e27405a1ded482a
parent73152f19c0be7f31ee05f32878b515a296c487fa
MdeModulePkg/AtaAtapiPassThru: update AtaStatusBlock after cmd exec

AhciDumpPortStatus doesn't fully populate all the fields of
AtaStatusBlock after completing command execution, which may bring
issue if someone depends on the return status.

Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c