From 1fc3d5eabbb36f21ac98f6aff037c9a84f547d7e Mon Sep 17 00:00:00 2001 From: dillon Date: Sun, 23 Dec 2001 02:48:25 +0000 Subject: [PATCH] Back out an inappropriate backout. If Anyone wants to set the FIFO level that high they should first fix the problems with the system that cause silo overflows. It is far more important for the serial device to work. --- sys/dev/sio/sio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 59bcdad91ed8..2ba205b0d547 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -2161,9 +2161,14 @@ comparam(tp, t) * latencies are reasonable for humans. Serial comms * protocols shouldn't expect anything better since modem * latencies are larger. + * + * The fifo trigger level cannot be set at RX_HIGH for high + * speed connections without further work on reducing + * interrupt disablement times in other parts of the system, + * without producing silo overflow errors. */ com->fifo_image = t->c_ospeed <= 4800 - ? FIFO_ENABLE : FIFO_ENABLE | FIFO_RX_HIGH; + ? FIFO_ENABLE : FIFO_ENABLE | FIFO_RX_MEDHI; #ifdef COM_ESP /* * The Hayes ESP card needs the fifo DMA mode bit set