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:
@ -327,7 +327,7 @@ AhciPacketCommandExecute (
|
||||
@param PciIo The PCI IO protocol instance.
|
||||
@param Port The number of port.
|
||||
@param CommandSlot The number of CommandSlot.
|
||||
@param Timeout The timeout value of start.
|
||||
@param Timeout The timeout value of start, uses 100ns as a unit.
|
||||
|
||||
@retval EFI_DEVICE_ERROR The command start unsuccessfully.
|
||||
@retval EFI_TIMEOUT The operation is time out.
|
||||
@ -348,7 +348,7 @@ AhciStartCommand (
|
||||
|
||||
@param PciIo The PCI IO protocol instance.
|
||||
@param Port The number of port.
|
||||
@param Timeout The timeout value of stop.
|
||||
@param Timeout The timeout value of stop, uses 100ns as a unit.
|
||||
|
||||
@retval EFI_DEVICE_ERROR The command stop unsuccessfully.
|
||||
@retval EFI_TIMEOUT The operation is time out.
|
||||
|
Reference in New Issue
Block a user