summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
84b2450)
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
#include "mp.h"
#if NMP > 0
#include "mp.h"
#if NMP > 0
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