summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-14 07:58:32 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-14 07:58:32 +0000
commitd35be2a434d347c0ff112f89c120a5c8a79c89a7 (patch)
tree9528fda833578605b082dd18d84a012122c510f4 /MdeModulePkg/Bus
parented72357a70995788a361e16240148d097525059e (diff)
downloadedk2-platforms-d35be2a434d347c0ff112f89c120a5c8a79c89a7.tar.xz
Sync code with MdePkg spec for Scsi library class and CustomDecompress library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3636 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus')
-rw-r--r--MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c2
-rw-r--r--MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c20
2 files changed, 11 insertions, 11 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
index 1b895cb427..58bcb25440 100644
--- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
+++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c
@@ -1075,7 +1075,7 @@ Returns:
InquiryDataLength = sizeof (EFI_SCSI_INQUIRY_DATA);
SenseDataLength = sizeof (EFI_SCSI_SENSE_DATA);
- Status = SubmitInquiryCommand (
+ Status = ScsiInquiryCommand (
&ScsiIoDevice->ScsiIo,
EfiScsiStallSeconds (1),
(VOID *) &SenseData,
diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
index 0ecbd50724..61d6e4068e 100644
--- a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
+++ b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
@@ -920,7 +920,7 @@ Returns:
InquiryDataLength = sizeof (EFI_SCSI_INQUIRY_DATA);
SenseDataLength = 0;
- Status = SubmitInquiryCommand (
+ Status = ScsiInquiryCommand (
ScsiDiskDevice->ScsiIo,
EfiScsiStallSeconds (1),
NULL,
@@ -981,9 +981,9 @@ Returns:
}
//
- // if goes here, meant SubmitInquiryCommand() failed.
+ // if goes here, meant ScsiInquiryCommand() failed.
// if ScsiDiskRequestSenseKeys() succeeds at last,
- // better retry SubmitInquiryCommand(). (by setting *NeedRetry = TRUE)
+ // better retry ScsiInquiryCommand(). (by setting *NeedRetry = TRUE)
//
MaxRetry = 3;
for (Index = 0; Index < MaxRetry; Index++) {
@@ -1057,7 +1057,7 @@ ScsiDiskTestUnitReady (
//
// Parameter 3 and 4: do not require sense data, retrieve it when needed.
//
- Status = SubmitTestUnitReadyCommand (
+ Status = ScsiTestUnitReadyCommand (
ScsiDiskDevice->ScsiIo,
EfiScsiStallSeconds (1),
NULL,
@@ -1275,7 +1275,7 @@ Returns:
//
// submit Read Capacity Command. in this call,not request sense data
//
- CommandStatus = SubmitReadCapacityCommand (
+ CommandStatus = ScsiReadCapacityCommand (
ScsiDiskDevice->ScsiIo,
EfiScsiStallSeconds (1),
NULL,
@@ -1337,9 +1337,9 @@ Returns:
}
//
- // if goes here, meant SubmitReadCapacityCommand() failed.
+ // if goes here, meant ScsiReadCapacityCommand() failed.
// if ScsiDiskRequestSenseKeys() succeeds at last,
- // better retry SubmitReadCapacityCommand(). (by setting *NeedRetry = TRUE)
+ // better retry ScsiReadCapacityCommand(). (by setting *NeedRetry = TRUE)
//
MaxRetry = 3;
for (Index = 0; Index < MaxRetry; Index++) {
@@ -1514,7 +1514,7 @@ ScsiDiskRequestSenseKeys (
for (SenseReq = TRUE; SenseReq;) {
- Status = SubmitRequestSenseCommand (
+ Status = ScsiRequestSenseCommand (
ScsiDiskDevice->ScsiIo,
EfiScsiStallSeconds (2),
PtrSenseData,
@@ -1894,7 +1894,7 @@ Returns:
*NeedRetry = FALSE;
*NumberOfSenseKeys = 0;
SenseDataLength = 0;
- Status = SubmitRead10Command (
+ Status = ScsiRead10Command (
ScsiDiskDevice->ScsiIo,
Timeout,
NULL,
@@ -1953,7 +1953,7 @@ Returns:
*NeedRetry = FALSE;
*NumberOfSenseKeys = 0;
SenseDataLength = 0;
- Status = SubmitWrite10Command (
+ Status = ScsiWrite10Command (
ScsiDiskDevice->ScsiIo,
Timeout,
NULL,