]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove 4 obsolete macros in UefiScsiLib and we have equivalent macros to the UEFI...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Nov 2008 14:24:01 +0000 (14:24 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Nov 2008 14:24:01 +0000 (14:24 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6565 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/UefiScsiLib.h

index d721735b46f2e5c18b3131051c0150a362f17809..f27844cd9526ee33a31faf5fb957ded6003c1ad4 100644 (file)
@@ -13,26 +13,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
 \r
 **/\r
 \r
-#ifndef _SCSI_LIB_H_\r
-#define _SCSI_LIB_H_\r
+#ifndef __SCSI_LIB_H__\r
+#define __SCSI_LIB_H__\r
 \r
 #include <Protocol/ScsiIo.h>\r
 \r
 \r
 #include <Protocol/ScsiIo.h>\r
 \r
-//\r
-// the time unit is 100ns, since the SCSI I/O defines timeout in 100ns unit.\r
-//\r
-#define EFI_SCSI_STALL_1_MICROSECOND  10\r
-#define EFI_SCSI_STALL_1_MILLISECOND  10000\r
-#define EFI_SCSI_STALL_1_SECOND       10000000\r
-\r
-///\r
-/// this macro cannot be directly used by the gBS->Stall(),\r
-/// since the value output by this macro is in 100ns unit,\r
-/// not 1us unit (1us = 1000ns)\r
-///\r
-#define EFI_SCSI_STALL_SECONDS(a)  ((a) * EFI_SCSI_STALL_1_SECOND)\r
-\r
-\r
 /**\r
   Execute Test Unit Ready SCSI command on a specific SCSI target.\r
 \r
 /**\r
   Execute Test Unit Ready SCSI command on a specific SCSI target.\r
 \r