mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
3ae59f5547
commit
d51cf796da
|
@ -1147,7 +1147,7 @@ Returns:
|
||||||
|
|
||||||
Status = ScsiInquiryCommand (
|
Status = ScsiInquiryCommand (
|
||||||
&ScsiIoDevice->ScsiIo,
|
&ScsiIoDevice->ScsiIo,
|
||||||
EfiScsiStallSeconds (1),
|
EFI_SCSI_STALL_SECONDS (1),
|
||||||
(VOID *) &SenseData,
|
(VOID *) &SenseData,
|
||||||
&SenseDataLength,
|
&SenseDataLength,
|
||||||
&HostAdapterStatus,
|
&HostAdapterStatus,
|
||||||
|
|
|
@ -923,7 +923,7 @@ Returns:
|
||||||
|
|
||||||
Status = ScsiInquiryCommand (
|
Status = ScsiInquiryCommand (
|
||||||
ScsiDiskDevice->ScsiIo,
|
ScsiDiskDevice->ScsiIo,
|
||||||
EfiScsiStallSeconds (1),
|
EFI_SCSI_STALL_SECONDS (1),
|
||||||
NULL,
|
NULL,
|
||||||
&SenseDataLength,
|
&SenseDataLength,
|
||||||
&HostAdapterStatus,
|
&HostAdapterStatus,
|
||||||
|
@ -1054,7 +1054,7 @@ Returns:
|
||||||
//
|
//
|
||||||
Status = ScsiTestUnitReadyCommand (
|
Status = ScsiTestUnitReadyCommand (
|
||||||
ScsiDiskDevice->ScsiIo,
|
ScsiDiskDevice->ScsiIo,
|
||||||
EfiScsiStallSeconds (1),
|
EFI_SCSI_STALL_SECONDS (1),
|
||||||
NULL,
|
NULL,
|
||||||
&SenseDataLength,
|
&SenseDataLength,
|
||||||
&HostAdapterStatus,
|
&HostAdapterStatus,
|
||||||
|
@ -1257,7 +1257,7 @@ Returns:
|
||||||
//
|
//
|
||||||
CommandStatus = ScsiReadCapacityCommand (
|
CommandStatus = ScsiReadCapacityCommand (
|
||||||
ScsiDiskDevice->ScsiIo,
|
ScsiDiskDevice->ScsiIo,
|
||||||
EfiScsiStallSeconds (1),
|
EFI_SCSI_STALL_SECONDS (1),
|
||||||
NULL,
|
NULL,
|
||||||
&SenseDataLength,
|
&SenseDataLength,
|
||||||
&HostAdapterStatus,
|
&HostAdapterStatus,
|
||||||
|
@ -1494,7 +1494,7 @@ Returns:
|
||||||
for (SenseReq = TRUE; SenseReq;) {
|
for (SenseReq = TRUE; SenseReq;) {
|
||||||
Status = ScsiRequestSenseCommand (
|
Status = ScsiRequestSenseCommand (
|
||||||
ScsiDiskDevice->ScsiIo,
|
ScsiDiskDevice->ScsiIo,
|
||||||
EfiScsiStallSeconds (2),
|
EFI_SCSI_STALL_SECONDS (2),
|
||||||
PtrSenseData,
|
PtrSenseData,
|
||||||
&SenseDataLength,
|
&SenseDataLength,
|
||||||
&HostAdapterStatus,
|
&HostAdapterStatus,
|
||||||
|
@ -1677,7 +1677,7 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
ByteCount = SectorCount * BlockSize;
|
ByteCount = SectorCount * BlockSize;
|
||||||
Timeout = EfiScsiStallSeconds (2);
|
Timeout = EFI_SCSI_STALL_SECONDS (2);
|
||||||
|
|
||||||
MaxRetry = 2;
|
MaxRetry = 2;
|
||||||
for (Index = 0; Index < MaxRetry; Index++) {
|
for (Index = 0; Index < MaxRetry; Index++) {
|
||||||
|
@ -1788,7 +1788,7 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
ByteCount = SectorCount * BlockSize;
|
ByteCount = SectorCount * BlockSize;
|
||||||
Timeout = EfiScsiStallSeconds (2);
|
Timeout = EFI_SCSI_STALL_SECONDS (2);
|
||||||
MaxRetry = 2;
|
MaxRetry = 2;
|
||||||
for (Index = 0; Index < MaxRetry; Index++) {
|
for (Index = 0; Index < MaxRetry; Index++) {
|
||||||
Status = ScsiDiskWrite10 (
|
Status = ScsiDiskWrite10 (
|
||||||
|
|
Loading…
Reference in New Issue