diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-02-13 12:46:28 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-02-13 12:46:28 +0000 |
| commit | a4daaa09f27593c420c7c693b2f2d7cf892d1587 (patch) | |
| tree | 6856880c5a705de6f0b15d8fbd880d773f2ac5eb /sys/dev/sio/sio.c | |
| parent | a744622f691558747b31795d59bc2f5a80a2b7b1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 922d93b927b9..a1da0ff40776 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.194 1998/01/08 04:53:43 amurai Exp $ + * $Id: sio.c,v 1.195 1998/01/24 02:54:25 eivind Exp $ */ #include "opt_comconsole.h" @@ -2548,16 +2548,7 @@ disc_optim(tp, t, com) tp->t_state |= TS_CAN_BYPASS_L_RINT; else tp->t_state &= ~TS_CAN_BYPASS_L_RINT; - /* - * Prepare to reduce input latency for packet - * discplines with a end of packet character. - */ - if (tp->t_line == SLIPDISC) - com->hotchar = 0xc0; - else if (tp->t_line == PPPDISC) - com->hotchar = 0x7e; - else - com->hotchar = 0; + com->hotchar = linesw[tp->t_line].l_hotchar; } /* |
