From: qhuang8 Date: Mon, 17 Nov 2008 14:24:01 +0000 (+0000) Subject: Remove 4 obsolete macros in UefiScsiLib and we have equivalent macros to the UEFI... X-Git-Tag: edk2-stable201903~19680 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c1f1e9ac84f14e465144c679ee02765b1419988b Remove 4 obsolete macros in UefiScsiLib and we have equivalent macros to the UEFI Lib for managing Timer Events git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6565 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Library/UefiScsiLib.h b/MdePkg/Include/Library/UefiScsiLib.h index d721735b46..f27844cd95 100644 --- a/MdePkg/Include/Library/UefiScsiLib.h +++ b/MdePkg/Include/Library/UefiScsiLib.h @@ -13,26 +13,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ -#ifndef _SCSI_LIB_H_ -#define _SCSI_LIB_H_ +#ifndef __SCSI_LIB_H__ +#define __SCSI_LIB_H__ #include -// -// the time unit is 100ns, since the SCSI I/O defines timeout in 100ns unit. -// -#define EFI_SCSI_STALL_1_MICROSECOND 10 -#define EFI_SCSI_STALL_1_MILLISECOND 10000 -#define EFI_SCSI_STALL_1_SECOND 10000000 - -/// -/// this macro cannot be directly used by the gBS->Stall(), -/// since the value output by this macro is in 100ns unit, -/// not 1us unit (1us = 1000ns) -/// -#define EFI_SCSI_STALL_SECONDS(a) ((a) * EFI_SCSI_STALL_1_SECOND) - - /** Execute Test Unit Ready SCSI command on a specific SCSI target.