diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-10 12:57:21 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-10 12:57:21 +0000 |
commit | d51cf796da63c0e06ba33b846bfbae66e178339e (patch) | |
tree | 685f5aae722dff71ad8e5f59303fc80c71020717 /MdeModulePkg/Bus | |
parent | 3ae59f5547ccc0f396db8f98f976897f85e7cf92 (diff) | |
download | edk2-platforms-d51cf796da63c0e06ba33b846bfbae66e178339e.tar.xz |
Rename EfiScsiStallSeconds to EFI_SCSI_STALL_SECONDS to follow the naming convention for MACRO.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6444 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c index d77758d648..4efee5b05b 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c +++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c @@ -1147,7 +1147,7 @@ Returns: Status = ScsiInquiryCommand (
&ScsiIoDevice->ScsiIo,
- EfiScsiStallSeconds (1),
+ EFI_SCSI_STALL_SECONDS (1),
(VOID *) &SenseData,
&SenseDataLength,
&HostAdapterStatus,
diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c index 54dbada7ec..07e2f870c0 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c +++ b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c @@ -923,7 +923,7 @@ Returns: Status = ScsiInquiryCommand (
ScsiDiskDevice->ScsiIo,
- EfiScsiStallSeconds (1),
+ EFI_SCSI_STALL_SECONDS (1),
NULL,
&SenseDataLength,
&HostAdapterStatus,
@@ -1054,7 +1054,7 @@ Returns: //
Status = ScsiTestUnitReadyCommand (
ScsiDiskDevice->ScsiIo,
- EfiScsiStallSeconds (1),
+ EFI_SCSI_STALL_SECONDS (1),
NULL,
&SenseDataLength,
&HostAdapterStatus,
@@ -1257,7 +1257,7 @@ Returns: //
CommandStatus = ScsiReadCapacityCommand (
ScsiDiskDevice->ScsiIo,
- EfiScsiStallSeconds (1),
+ EFI_SCSI_STALL_SECONDS (1),
NULL,
&SenseDataLength,
&HostAdapterStatus,
@@ -1494,7 +1494,7 @@ Returns: for (SenseReq = TRUE; SenseReq;) {
Status = ScsiRequestSenseCommand (
ScsiDiskDevice->ScsiIo,
- EfiScsiStallSeconds (2),
+ EFI_SCSI_STALL_SECONDS (2),
PtrSenseData,
&SenseDataLength,
&HostAdapterStatus,
@@ -1677,7 +1677,7 @@ Returns: }
ByteCount = SectorCount * BlockSize;
- Timeout = EfiScsiStallSeconds (2);
+ Timeout = EFI_SCSI_STALL_SECONDS (2);
MaxRetry = 2;
for (Index = 0; Index < MaxRetry; Index++) {
@@ -1788,7 +1788,7 @@ Returns: }
ByteCount = SectorCount * BlockSize;
- Timeout = EfiScsiStallSeconds (2);
+ Timeout = EFI_SCSI_STALL_SECONDS (2);
MaxRetry = 2;
for (Index = 0; Index < MaxRetry; Index++) {
Status = ScsiDiskWrite10 (
|