summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-05-30 23:41:35 +0000
committerpeter <peter@FreeBSD.org>1996-05-30 23:41:35 +0000
commitb46e8cf885570613bfe0bf9fff30d835444fbf0f (patch)
tree161b5ecd1992c183c35876aee20e8fa8d363c08e /sys/dev/si
parenta550a3bde3a2d21a6d7d31cf63590925efbdfb6b (diff)
downloadFreeBSD-src-b46e8cf885570613bfe0bf9fff30d835444fbf0f.zip
FreeBSD-src-b46e8cf885570613bfe0bf9fff30d835444fbf0f.tar.gz
When estimating the time (in ms) left to drain the output queue based
on the baud rate, dont get upset if it's been hung up by setting B0. Instead, sleep for a short time, as the host controller takes a while to go through the state changes.
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index cdcba62..72309a7 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.39 1996/05/05 17:35:19 peter Exp $
+ * $Id: si.c,v 1.40 1996/05/08 04:48:25 peter Exp $
*/
#ifndef lint
@@ -2134,9 +2134,9 @@ si_start(tp)
else
time = 2;
} else {
- printf("si%d: bad char time value!!\n",
- (int)SI_CARD(tp->t_dev));
- goto out;
+ DPRINT((pp, DBG_START,
+ "bad char time value! %d\n", time));
+ time = hz/10;
}
}
OpenPOWER on IntegriCloud