MdeModulePkg: ATA performance tuning.

1. Boost IDE mode boot when slave device is absent.
2. Use D2H FIS to check if the PIO OUT/DMA IN/DMA OUT transfer is finished or error happened. ATA PIO IN has special check as it may just receive PIO SETUP FIS for success case.
3. Add command status register check for IDE DMA transfer.
4. ScsiDiskReadCapacity() in ScsiDisk should return EFI_SUCCESS if SENSE Data request is success.

Signed-off-by: erictian
Reviewed-by: rsun3
Reviewed-by: xdu2
Reviewed-by: mdkinney

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12658 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian
2011-11-03 12:38:21 +00:00
parent 9c9f585937
commit 8536cc4b37
6 changed files with 346 additions and 339 deletions

View File

@ -506,7 +506,7 @@ UnregisterAtaDevice (
}
ReleaseAtaResources (AtaDevice);
return EFI_SUCCESS;
return Status;
}