Increased number of busy retries

svn path=/trunk/; revision=1660
This commit is contained in:
Eric Kohl
2001-03-04 00:46:46 +00:00
parent d5d8d819b8
commit 2ec9eaf736
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
/* $Id: ide.c,v 1.37 2001/01/06 23:25:35 rex Exp $
/* $Id: ide.c,v 1.38 2001/03/04 00:46:46 ekohl Exp $
*
* IDE.C - IDE Disk driver
* written by Rex Jolliff
@@ -1491,7 +1491,7 @@ IDEStartController(IN OUT PVOID Context)
/* wait for BUSY to clear and DRDY to assert */
for (Retries = 0; Retries < IDE_MAX_BUSY_RETRIES; Retries++)
{
BYTE Status = IDEReadStatus(ControllerExtension->CommandPortBase);
Status = IDEReadStatus(ControllerExtension->CommandPortBase);
if (!(Status & IDE_SR_BUSY) && (Status & IDE_SR_DRDY))
{
break;
+1 -2
View File
@@ -18,8 +18,7 @@ extern "C" {
#define IDE_MAX_RESET_RETRIES 10000
#define IDE_MAX_POLL_RETRIES 100000
#define IDE_MAX_WRITE_RETRIES 1000
#define IDE_MAX_BUSY_RETRIES 100
//#define IDE_MAX_BUSY_RETRIES 100000
#define IDE_MAX_BUSY_RETRIES 50000
#define IDE_MAX_DRQ_RETRIES 10000
//#define IDE_MAX_CMD_RETRIES 1
#define IDE_MAX_CMD_RETRIES 0