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 <[email protected]> Cc: Star Zeng <[email protected]> --- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h index 4077636..c289988 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h +++ b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h @@ -102,7 +102,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. -- 1.9.5.msysgit.0 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

