diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1996-03-09 18:59:00 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1996-03-09 18:59:00 +0000 |
commit | 46ed21d1a7fa8c13f2a0f8f04e698ff3a1986833 (patch) | |
tree | 921a6888423fd45921e709f679e207f82295ba65 /sys/dev/rc | |
parent | 5a453b0ef3fcd8c5cf3b56fc97875b165df9a464 (diff) | |
download | src-46ed21d1a7fa8c13f2a0f8f04e698ff3a1986833.tar.gz src-46ed21d1a7fa8c13f2a0f8f04e698ff3a1986833.zip |
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)
Notes
Notes:
svn path=/head/; revision=14441
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 6cdf6b919d0f..7844e4de8566 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); |