summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-04 20:04:52 +0000
committerphk <phk@FreeBSD.org>2004-06-04 20:04:52 +0000
commit06049d3eaf941ee534b340558daac059b6b18912 (patch)
treed6e215bcf253e083595c541ae5d094a1d2c280e4 /sys/pc98
parentdb23e347ebdfd57136333ee5b06a73eb4fe8f2c0 (diff)
downloadFreeBSD-src-06049d3eaf941ee534b340558daac059b6b18912.zip
FreeBSD-src-06049d3eaf941ee534b340558daac059b6b18912.tar.gz
Manual edits to change linesw[]-frobbing to ttyld_*() calls.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c4
-rw-r--r--sys/pc98/pc98/sio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 1416b27..e2c652f 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -3202,8 +3202,8 @@ repeat:
com->state &= ~CS_CHECKMSR;
mtx_unlock_spin(&sio_lock);
if (delta_modem_status & MSR_DCD)
- (*linesw[tp->t_line].l_modem)
- (tp, com->prev_modem_status & MSR_DCD);
+ ttyld_modem(tp,
+ com->prev_modem_status & MSR_DCD);
#ifdef PC98
}
#endif
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 1416b27..e2c652f 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -3202,8 +3202,8 @@ repeat:
com->state &= ~CS_CHECKMSR;
mtx_unlock_spin(&sio_lock);
if (delta_modem_status & MSR_DCD)
- (*linesw[tp->t_line].l_modem)
- (tp, com->prev_modem_status & MSR_DCD);
+ ttyld_modem(tp,
+ com->prev_modem_status & MSR_DCD);
#ifdef PC98
}
#endif
OpenPOWER on IntegriCloud