summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Library
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-20 09:59:05 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-20 09:59:05 +0000
commitc7a54f2560479abe75b51383940b057cac321d22 (patch)
treec65a65967e77de7668b33004f4cc0c83f70b12bc /MdePkg/Include/Library
parentdfa235c55bb01796f78714297f25ee5c124a6a79 (diff)
downloadedk2-c7a54f2560479abe75b51383940b057cac321d22.tar.gz
edk2-c7a54f2560479abe75b51383940b057cac321d22.tar.bz2
edk2-c7a54f2560479abe75b51383940b057cac321d22.zip
Fix invalid return status to sync with newest UEFI spec 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3900 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Library')
-rw-r--r--MdePkg/Include/Library/ScsiLib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Include/Library/ScsiLib.h b/MdePkg/Include/Library/ScsiLib.h
index 97634f616b..54fb281f1d 100644
--- a/MdePkg/Include/Library/ScsiLib.h
+++ b/MdePkg/Include/Library/ScsiLib.h
@@ -132,7 +132,7 @@ ScsiInquiryCommand (
@param[in] PageCode Page code.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -184,7 +184,7 @@ ScsiModeSense10Command (
@retval EFI_SUCCESS Valid data returned
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -226,7 +226,7 @@ ScsiRequestSenseCommand (
@param[in] PMI Partial medium indicator.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -272,7 +272,7 @@ ScsiReadCapacityCommand (
@param[in] SectorSize The sector size.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in TransferLength.
@@ -319,7 +319,7 @@ ScsiRead10Command (
@param[in] SectorSize The sector size.
@retval EFI_SUCCESS The status of the unit is tested successfully.
- @retval EFI_WARN_BUFFER_TOO_SMALL The SCSI Request Packet was executed,
+ @retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
but the entire DataBuffer could not be transferred.
The actual number of bytes transferred is returned
in InTransferLength.