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/ScsiBusDxe | |
parent | 52ca0d9816a2bf1f9082693ca886b9d0bed95365 (diff) | |
download | edk2-e72a3b3ea82c6520fc195ebc36e198a9ca9ca457.tar.gz edk2-e72a3b3ea82c6520fc195ebc36e198a9ca9ca457.tar.bz2 edk2-e72a3b3ea82c6520fc195ebc36e198a9ca9ca457.zip |
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/ScsiBusDxe')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c index 9833f035be..9b9a5d5e14 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c +++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c @@ -1105,7 +1105,7 @@ DiscoverScsiDevice ( Status = ScsiInquiryCommand (
&ScsiIoDevice->ScsiIo,
- EFI_SCSI_STALL_SECONDS (1),
+ EFI_TIMER_PERIOD_SECONDS (1),
(VOID *) &SenseData,
&SenseDataLength,
&HostAdapterStatus,
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h index 2775b3fe73..895d48388b 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h +++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h @@ -35,10 +35,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Library/DevicePathLib.h>
#include <IndustryStandard/Scsi.h>
-//
-// 1000 * 1000 * 10
-//
-#define ONE_SECOND_TIMER 10000000
#define SCSI_IO_DEV_SIGNATURE EFI_SIGNATURE_32 ('s', 'c', 'i', 'o')
|