diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1996-03-09 18:59:00 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1996-03-09 18:59:00 +0000 |
commit | 17cc9fc50275a82f4224ba957d768981a45929d7 (patch) | |
tree | 921a6888423fd45921e709f679e207f82295ba65 /sys/dev/rc | |
parent | 1eb18fd3ec145fad87f7c24fa339aa526d13776e (diff) | |
download | FreeBSD-src-17cc9fc50275a82f4224ba957d768981a45929d7.zip FreeBSD-src-17cc9fc50275a82f4224ba957d768981a45929d7.tar.gz |
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)
Diffstat (limited to 'sys/dev/rc')
-rw-r--r-- | sys/dev/rc/rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 6cdf6b9..7844e4d 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -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); |