diff options
Diffstat (limited to 'sys/i386/isa/stallion.c')
-rw-r--r-- | sys/i386/isa/stallion.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c index b0938cc..bfe8064 100644 --- a/sys/i386/isa/stallion.c +++ b/sys/i386/isa/stallion.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: stallion.c,v 1.15 1997/12/16 17:40:09 eivind Exp $ + * $Id: stallion.c,v 1.16 1998/02/09 06:08:42 eivind Exp $ */ /*****************************************************************************/ @@ -2556,13 +2556,7 @@ static void stl_ttyoptim(stlport_t *portp, struct termios *tiosp) tp->t_state |= TS_CAN_BYPASS_L_RINT; else tp->t_state &= ~TS_CAN_BYPASS_L_RINT; - - if (tp->t_line == SLIPDISC) - portp->hotchar = 0xc0; - else if (tp->t_line == PPPDISC) - portp->hotchar = 0x7e; - else - portp->hotchar = 0; + portp->hotchar = linesw[tp->t_line].l_hotchar; } /*****************************************************************************/ |