MdeModulePkg/AtaBus&AtaAtapiPassThru: Update ATA drivers to follow UEFI2.4 new request in which it requests ResetEx() to terminate any in-flight non-blocking IO request with EFI_ABORTED transaction status.
Signed-off-by: Tian, Feng <feng.tian@intel.com> reviewed-by: Ni, Ruiyu <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14761 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1764,7 +1764,10 @@ AtaPassThruResetPort (
|
||||
IN UINT16 Port
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
//
|
||||
// Return success directly then upper layer driver could think reset port operation is done.
|
||||
//
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1806,7 +1809,10 @@ AtaPassThruResetDevice (
|
||||
IN UINT16 PortMultiplierPort
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
//
|
||||
// Return success directly then upper layer driver could think reset device operation is done.
|
||||
//
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2274,7 +2280,10 @@ ExtScsiPassThruResetChannel (
|
||||
IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
//
|
||||
// Return success directly then upper layer driver could think reset channel operation is done.
|
||||
//
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2304,7 +2313,10 @@ ExtScsiPassThruResetTargetLun (
|
||||
IN UINT64 Lun
|
||||
)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
//
|
||||
// Return success directly then upper layer driver could think reset target LUN operation is done.
|
||||
//
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user