diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-17 14:22:23 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-17 14:22:23 +0000 |
commit | e72a3b3ea82c6520fc195ebc36e198a9ca9ca457 (patch) | |
tree | ded16142c79f25113ca4a08caa1876d0b30b2619 /MdeModulePkg/Bus/Scsi/ScsiDiskDxe | |
parent | 52ca0d9816a2bf1f9082693ca886b9d0bed95365 (diff) | |
download | edk2-e72a3b3ea82c6520fc195ebc36e198a9ca9ca457.zip edk2-e72a3b3ea82c6520fc195ebc36e198a9ca9ca457.tar.gz edk2-e72a3b3ea82c6520fc195ebc36e198a9ca9ca457.tar.bz2 |
Update SCSI modules to use new macros defined in UefiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Scsi/ScsiDiskDxe')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c index 9451932..d2a751a 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c +++ b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c @@ -876,7 +876,7 @@ ScsiDiskInquiryDevice ( Status = ScsiInquiryCommand (
ScsiDiskDevice->ScsiIo,
- EFI_SCSI_STALL_SECONDS (1),
+ EFI_TIMER_PERIOD_SECONDS (1),
NULL,
&SenseDataLength,
&HostAdapterStatus,
@@ -1002,7 +1002,7 @@ ScsiDiskTestUnitReady ( //
Status = ScsiTestUnitReadyCommand (
ScsiDiskDevice->ScsiIo,
- EFI_SCSI_STALL_SECONDS (1),
+ EFI_TIMER_PERIOD_SECONDS (1),
NULL,
&SenseDataLength,
&HostAdapterStatus,
@@ -1192,7 +1192,7 @@ ScsiDiskReadCapacity ( //
CommandStatus = ScsiReadCapacityCommand (
ScsiDiskDevice->ScsiIo,
- EFI_SCSI_STALL_SECONDS (1),
+ EFI_TIMER_PERIOD_SECONDS (1),
NULL,
&SenseDataLength,
&HostAdapterStatus,
@@ -1409,7 +1409,7 @@ ScsiDiskRequestSenseKeys ( for (SenseReq = TRUE; SenseReq;) {
Status = ScsiRequestSenseCommand (
ScsiDiskDevice->ScsiIo,
- EFI_SCSI_STALL_SECONDS (2),
+ EFI_TIMER_PERIOD_SECONDS (2),
PtrSenseData,
&SenseDataLength,
&HostAdapterStatus,
@@ -1567,7 +1567,7 @@ ScsiDiskReadSectors ( }
ByteCount = SectorCount * BlockSize;
- Timeout = EFI_SCSI_STALL_SECONDS (2);
+ Timeout = EFI_TIMER_PERIOD_SECONDS (2);
MaxRetry = 2;
for (Index = 0; Index < MaxRetry; Index++) {
@@ -1671,7 +1671,7 @@ ScsiDiskWriteSectors ( }
ByteCount = SectorCount * BlockSize;
- Timeout = EFI_SCSI_STALL_SECONDS (2);
+ Timeout = EFI_TIMER_PERIOD_SECONDS (2);
MaxRetry = 2;
for (Index = 0; Index < MaxRetry; Index++) {
Status = ScsiDiskWrite10 (
|