diff options
-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 (
|