Convert a timeout loop from 100 iterations of 15uS to 50

iterations of 30uS so that really fast systems stop getting
timeout messages from the Riscom driver.

Reviewed by:	ache, peter@nmti.com (Peter da Silva)
This commit is contained in:
Rodney W. Grimes 1996-03-09 18:59:00 +00:00
parent 5a453b0ef3
commit 46ed21d1a7
2 changed files with 4 additions and 4 deletions

View File

@ -1525,8 +1525,8 @@ rc_wait0(nec, unit, chan, line)
{
int rcnt;
for (rcnt = 100; rcnt && rcin(CD180_CCR); rcnt--)
DELAY(15);
for (rcnt = 50; rcnt && rcin(CD180_CCR); rcnt--)
DELAY(30);
if (rcnt == 0)
printf("rc%d/%d: channel command timeout, rc.c line: %d\n",
unit, chan, line);

View File

@ -1525,8 +1525,8 @@ rc_wait0(nec, unit, chan, line)
{
int rcnt;
for (rcnt = 100; rcnt && rcin(CD180_CCR); rcnt--)
DELAY(15);
for (rcnt = 50; rcnt && rcin(CD180_CCR); rcnt--)
DELAY(30);
if (rcnt == 0)
printf("rc%d/%d: channel command timeout, rc.c line: %d\n",
unit, chan, line);