diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-01-04 05:58:24 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-01-04 05:58:24 +0000 |
commit | e8a50d1b4469fab67323dfa792bca5fc385b179f (patch) | |
tree | a25f321c806eda11e0c0c805c621a15ab4624518 /MdeModulePkg | |
parent | 02ee8d3b4cebb319ff1747f9bdc3f6b473d63f3e (diff) | |
download | edk2-platforms-e8a50d1b4469fab67323dfa792bca5fc385b179f.tar.xz |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c index 190ab799f1..2001175fe7 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c @@ -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 {
|