Increase the timout on aha_send_mbox from 1ms to 3ms, needed to reliably

run Exabyte 8505 on 1742's.  This may not be the final solution, but it
makes it work.  It may be better to change the DELAY(10) to DELAY(30)
inside the loop instead of increasing the loop count from 100 to 300.
This commit is contained in:
Rodney W. Grimes 1994-02-17 05:48:08 +00:00
parent fe8ab1a5fe
commit f2ba1017cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1168
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
* $Id: aha1742.c,v 1.13 1993/12/19 00:50:27 wollman Exp $
* $Id: aha1742.c,v 1.14 1994/01/11 07:24:32 rgrimes Exp $
*/
#include <sys/types.h>
@ -343,7 +343,7 @@ void
ahb_send_mbox(int unit, int opcode, int target, struct ecb *ecb)
{
int port = ahbdata[unit]->baseport;
int wait = 100; /* 1ms should be enough */
int wait = 300; /* 3ms should be enough */
int stport = port + G2STAT;
int s = splbio();

View File

@ -14,7 +14,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
* $Id: aha1742.c,v 1.13 1993/12/19 00:50:27 wollman Exp $
* $Id: aha1742.c,v 1.14 1994/01/11 07:24:32 rgrimes Exp $
*/
#include <sys/types.h>
@ -343,7 +343,7 @@ void
ahb_send_mbox(int unit, int opcode, int target, struct ecb *ecb)
{
int port = ahbdata[unit]->baseport;
int wait = 100; /* 1ms should be enough */
int wait = 300; /* 3ms should be enough */
int stport = port + G2STAT;
int s = splbio();