From 2281df84cd36ed127e29d159a8c91d3183bacab0 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Thu, 14 Apr 1988 18:41:19 -0800 Subject: [PATCH] From: muller%sdcc7@ucsd.edu (Keith Muller) We had problems with many terminals that only do ^S/^Q flow control. They were losing characters. The time to process a ^S was at times 240 characters (240 characters were transmitted at 9600 baud after a ^S was sent). The problem was that the mpcc firmware would support ^S/^Q flow control, but the driver only used it in tandem mode. SCCS-vsn: sys/tahoe/vba/mp.c 1.4 --- usr/src/sys/tahoe/vba/mp.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/usr/src/sys/tahoe/vba/mp.c b/usr/src/sys/tahoe/vba/mp.c index c9be3badb2..f8ba6dbdc8 100644 --- a/usr/src/sys/tahoe/vba/mp.c +++ b/usr/src/sys/tahoe/vba/mp.c @@ -1,4 +1,4 @@ -/* mp.c 1.3 88/03/05 */ +/* mp.c 1.4 88/04/14 */ #include "mp.h" #if NMP > 0 @@ -365,9 +365,8 @@ mpparam(unit) asp = &ms->ms_async[port][mp->mp_on?mp->mp_on-1:MPINSET-1]; asp->ap_xon = tp->t_startc; asp->ap_xoff = tp->t_stopc; - asp->ap_xena = - (tp->t_flags & (RAW|TANDEM)) == TANDEM ? MPA_ENA : MPA_DIS; - asp->ap_xany = (tp->t_flags & DECCTQ ? MPA_DIS : MPA_ENA); + asp->ap_xena = ((tp->t_flags & RAW) ? MPA_DIS : MPA_ENA); + asp->ap_xany = ((tp->t_flags & DECCTQ) ? MPA_DIS : MPA_ENA); #ifdef notnow if (tp->t_flags & (RAW|LITOUT|PASS8)) { #endif -- 2.20.1