From: muller%sdcc7@ucsd.edu (Keith Muller)
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 15 Apr 1988 02:41:19 +0000 (18:41 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 15 Apr 1988 02:41:19 +0000 (18:41 -0800)
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

index c9be3ba..f8ba6db 100644 (file)
@@ -1,4 +1,4 @@
-/*     mp.c    1.3     88/03/05        */
+/*     mp.c    1.4     88/04/14        */
 
 #include "mp.h"
 #if NMP > 0
 
 #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 = &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
 #ifdef notnow
        if (tp->t_flags & (RAW|LITOUT|PASS8)) {
 #endif