Fix up line discipline change fallout.

This commit is contained in:
simonb 2000-11-03 15:01:10 +00:00
parent a09524d498
commit dde480911e
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dc.c,v 1.64 2000/11/02 00:42:38 eeh Exp $ */
/* $NetBSD: dc.c,v 1.65 2000/11/03 15:01:10 simonb Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: dc.c,v 1.64 2000/11/02 00:42:38 eeh Exp $");
__KERNEL_RCSID(0, "$NetBSD: dc.c,v 1.65 2000/11/03 15:01:10 simonb Exp $");
/*
* devDC7085.c --
@ -908,7 +908,7 @@ dcxint(tp)
ndflush(&tp->t_outq, dp->p_mem - (caddr_t) tp->t_outq.c_cf);
dp->p_end = dp->p_mem = tp->t_outq.c_cf;
}
if (tp->t_line)
if (tp->t_linesw)
(*tp->t_linesw->l_start)(tp);
else
dcstart(tp);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rcons.c,v 1.44 2000/11/02 00:42:39 eeh Exp $ */
/* $NetBSD: rcons.c,v 1.45 2000/11/03 15:01:10 simonb Exp $ */
/*
* Copyright (c) 1995
@ -488,6 +488,6 @@ rcons_input (dev, ic)
if (!(tp -> t_state & TS_ISOPEN)) {
return;
}
(*linesw [tp -> t_line].l_rint)(ic, tp);
(*tp->t_linesw->l_rint)(ic, tp);
}
#endif /* NRASTERCONSOLE > 0 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: scc.c,v 1.66 2000/11/02 00:42:39 eeh Exp $ */
/* $NetBSD: scc.c,v 1.67 2000/11/03 15:01:10 simonb Exp $ */
/*
* Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.66 2000/11/02 00:42:39 eeh Exp $");
__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.67 2000/11/03 15:01:10 simonb Exp $");
/*
* Intel 82530 dual usart chip driver. Supports the serial port(s) on the
@ -999,7 +999,7 @@ scc_txintr(sc, chan, regs)
(caddr_t) tp->t_outq.c_cf);
dp->p_end = dp->p_mem = tp->t_outq.c_cf;
}
if (tp->t_line)
if (tp->t_linesw)
(*tp->t_linesw->l_start)(tp);
else
sccstart(tp);