[UNIATA]
authorAleksey Bragin <aleksey@reactos.org>
Fri, 5 Mar 2010 13:16:52 +0000 (13:16 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Fri, 5 Mar 2010 13:16:52 +0000 (13:16 +0000)
- Reduce pause between SelectDrive and ATAPI_RESET from 10000 to 500 (as it is in the old ATAPI driver).

svn path=/trunk/; revision=45868

reactos/drivers/storage/ide/uniata/id_ata.cpp

index 7097668..5bb5cf7 100644 (file)
@@ -687,7 +687,7 @@ AtapiSoftReset(
     GetBaseStatus(chan, statusByte2);
     KdPrint2((PRINT_PREFIX "  statusByte2 %x:\n", statusByte2));
     SelectDrive(chan, DeviceNumber);
     GetBaseStatus(chan, statusByte2);
     KdPrint2((PRINT_PREFIX "  statusByte2 %x:\n", statusByte2));
     SelectDrive(chan, DeviceNumber);
-    AtapiStallExecution(10000);
+    AtapiStallExecution(500);
     AtapiWritePort1(chan, IDX_IO1_o_Command, IDE_COMMAND_ATAPI_RESET);
 
     // ReactOS modification: Already stop looping when we know that the drive has finished resetting.
     AtapiWritePort1(chan, IDX_IO1_o_Command, IDE_COMMAND_ATAPI_RESET);
 
     // ReactOS modification: Already stop looping when we know that the drive has finished resetting.