mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/AtaAtapiPassThru: Not set AhciCmdC bit of CommandList when doing transaction as AHCI spec say this bit is only used to do soft reset
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Elvin Li <elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14027 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
02ee8d3b4c
commit
e8a50d1b44
|
@ -548,7 +548,6 @@ AhciBuildCommand (
|
|||
|
||||
CommandList->AhciCmdA = 1;
|
||||
CommandList->AhciCmdP = 1;
|
||||
CommandList->AhciCmdC = (DataLength == 0) ? 1 : 0;
|
||||
|
||||
AhciOrReg (PciIo, Offset, (EFI_AHCI_PORT_CMD_DLAE | EFI_AHCI_PORT_CMD_ATAPI));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue