diff options
Diffstat (limited to 'sys/dev/sab/sab.c')
-rw-r--r-- | sys/dev/sab/sab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sab/sab.c b/sys/dev/sab/sab.c index e546e24..0193431 100644 --- a/sys/dev/sab/sab.c +++ b/sys/dev/sab/sab.c @@ -622,13 +622,13 @@ sabtty_softintr(struct sabtty_softc *sc) if (sc->sc_iget == sc->sc_ibuf + sizeof(sc->sc_ibuf)) sc->sc_iget = sc->sc_ibuf; - (*linesw[tp->t_line].l_rint)(data, tp); + ttyld_rint(tp, data); } if (sc->sc_tx_done != 0) { sc->sc_tx_done = 0; tp->t_state &= ~TS_BUSY; - (*linesw[tp->t_line].l_start)(tp); + ttyld_start(tp); } } @@ -698,7 +698,7 @@ sabttyopen(dev_t dev, int flags, int mode, struct thread *td) if (error != 0) return (error); - error = (*linesw[tp->t_line].l_open)(dev, tp); + error = ttyld_open(tp, dev); if (error != 0) return (error); @@ -715,7 +715,7 @@ sabttyclose(dev_t dev, int flags, int mode, struct thread *td) if ((tp->t_state & TS_ISOPEN) == 0) return (0); - (*linesw[tp->t_line].l_close)(tp, flags); + ttyld_close(tp, flags); ttyclose(tp); return (0); |