diff options
author | Feng Tian <feng.tian@intel.com> | 2016-01-07 07:03:54 +0000 |
---|---|---|
committer | erictian <erictian@Edk2> | 2016-01-07 07:03:54 +0000 |
commit | 1d3fa1bd3817b6cdcfdf9fb502768f791c5a7c5a (patch) | |
tree | eb957e3b7db532a7bf121f82610ee2f0cb43bc39 /MdeModulePkg/Bus | |
parent | 7cac2401635317360226a235d1f95f8347081cbb (diff) | |
download | edk2-1d3fa1bd3817b6cdcfdf9fb502768f791c5a7c5a.zip edk2-1d3fa1bd3817b6cdcfdf9fb502768f791c5a7c5a.tar.gz edk2-1d3fa1bd3817b6cdcfdf9fb502768f791c5a7c5a.tar.bz2 |
MdeModulePkg/ScsiDisk: Increase the value of SCSI_DISK_TIMEOUT to 30s
As ScsiDisk and ScsiBus driver are used to manage SCSI or ATAPI devices,
the timeout value is updated to 30s to follow ATA/ATAPI spec in which
the device may take up to 30s to respond command.
The change is used to solve device compatibility issue found with a TEAC
DV-W28S-WZ3 slim DVD plus a SONY AccuCORE DVD-R media in which the DVD
spends 8s to response READ_CAPACITY cmd after resetting the host machine.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19612 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h index 2406df5..45e6ae3 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h +++ b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h @@ -157,7 +157,11 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gScsiDiskComponentName2; //
// SCSI Disk Timeout Experience Value
//
-#define SCSI_DISK_TIMEOUT EFI_TIMER_PERIOD_SECONDS (3)
+// As ScsiDisk and ScsiBus driver are used to manage SCSI or ATAPI devices, the timout
+// value is updated to 30s to follow ATA/ATAPI spec in which the device may take up to 30s
+// to respond command.
+//
+#define SCSI_DISK_TIMEOUT EFI_TIMER_PERIOD_SECONDS (30)
/**
Test to see if this driver supports ControllerHandle.
|