diff options
author | phk <phk@FreeBSD.org> | 2004-06-04 20:04:52 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-04 20:04:52 +0000 |
commit | 06049d3eaf941ee534b340558daac059b6b18912 (patch) | |
tree | d6e215bcf253e083595c541ae5d094a1d2c280e4 /sys/dev/digi/digi.c | |
parent | db23e347ebdfd57136333ee5b06a73eb4fe8f2c0 (diff) | |
download | FreeBSD-src-06049d3eaf941ee534b340558daac059b6b18912.zip FreeBSD-src-06049d3eaf941ee534b340558daac059b6b18912.tar.gz |
Manual edits to change linesw[]-frobbing to ttyld_*() calls.
Diffstat (limited to 'sys/dev/digi/digi.c')
-rw-r--r-- | sys/dev/digi/digi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c index 122fc2f..d13e50f 100644 --- a/sys/dev/digi/digi.c +++ b/sys/dev/digi/digi.c @@ -1601,8 +1601,7 @@ digi_intr(void *vp) tail = top - size; ttwakeup(tp); } else for (; tail < top;) { - linesw[tp->t_line]. - l_rint(port->rxbuf[tail], tp); + ttyld_rint(tp, port->rxbuf[tail]); sc->towin(sc, port->rxwin); size--; tail++; @@ -1641,8 +1640,7 @@ end_of_data: if ((event.mstat ^ event.lstat) & port->cd) { sc->hidewin(sc); - linesw[tp->t_line].l_modem - (tp, event.mstat & port->cd); + ttyld_modem(tp, event.mstat & port->cd); sc->setwin(sc, 0); wakeup(TSA_CARR_ON(tp)); } |