Author: cfinck
Date: Sat Nov 28 23:54:47 2009
New Revision: 44316
URL:
http://svn.reactos.org/svn/reactos?rev=44316&view=rev
Log:
Revert 43921 on demand of Aleksey
Modified:
branches/ros-branch-0_3_11/reactos/drivers/storage/ide/uniata/id_ata.cpp
Modified: branches/ros-branch-0_3_11/reactos/drivers/storage/ide/uniata/id_ata.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_11/reactos/drive…
==============================================================================
--- branches/ros-branch-0_3_11/reactos/drivers/storage/ide/uniata/id_ata.cpp [iso-8859-1]
(original)
+++ branches/ros-branch-0_3_11/reactos/drivers/storage/ide/uniata/id_ata.cpp [iso-8859-1]
Sat Nov 28 23:54:47 2009
@@ -493,10 +493,10 @@
{
ULONG i;
UCHAR Status;
- for (i=0; i<200; i++) {
+ for (i=0; i<20000; i++) {
GetStatus(chan, Status);
if (Status & IDE_STATUS_BUSY) {
- AtapiStallExecution(10);
+ AtapiStallExecution(150);
continue;
} else {
break;
@@ -537,10 +537,10 @@
{
ULONG i;
UCHAR Status;
- for (i=0; i<200; i++) {
+ for (i=0; i<20000; i++) {
GetBaseStatus(chan, Status);
if (Status & IDE_STATUS_BUSY) {
- AtapiStallExecution(10);
+ AtapiStallExecution(150);
continue;
} else {
break;
@@ -640,11 +640,11 @@
for (i=0; i<1000; i++) {
GetStatus(chan, Status);
if (Status & IDE_STATUS_BUSY) {
- AtapiStallExecution(10);
+ AtapiStallExecution(100);
} else if (Status & IDE_STATUS_DRQ) {
break;
} else {
- AtapiStallExecution(10);
+ AtapiStallExecution(200);
}
}
return Status;
@@ -661,11 +661,11 @@
for (i=0; i<2; i++) {
GetStatus(chan, Status);
if (Status & IDE_STATUS_BUSY) {
- AtapiStallExecution(10);
+ AtapiStallExecution(100);
} else if (Status & IDE_STATUS_DRQ) {
break;
} else {
- AtapiStallExecution(10);
+ AtapiStallExecution(100);
}
}
return Status;