]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Ata: Fix command status reporting
authorAlbecki, Mateusz <mateusz.albecki@intel.com>
Tue, 18 Oct 2022 15:54:19 +0000 (23:54 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 12 Dec 2022 01:53:49 +0000 (01:53 +0000)
commita6542894391bae58b7704b2624b541a2b8b9ed93
treeb5e78625519609b12696b7cf29386621da334575
parent4cb94f20b002c99dd2b4b75f07c5495b81a34ffd
MdeModulePkg/Ata: Fix command status reporting

Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4016

AtaAtapiPassThru driver was reporting recovery status on failed command
packets which led to incorrect flows in upper layers and to SCT tests
fails. This commit will change the logic to report command status.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c