summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-04 16:02:56 +0000
committerphk <phk@FreeBSD.org>2004-06-04 16:02:56 +0000
commitba3920e2a2eb1a3101ab8286d24d58fef6fd73aa (patch)
tree3337821fdd2a353d2216412ea8dd39eb5e65f007 /sys/ia64
parent958f9d7c7609eaa9fcabd83035ded33f80da2f0d (diff)
downloadFreeBSD-src-ba3920e2a2eb1a3101ab8286d24d58fef6fd73aa.zip
FreeBSD-src-ba3920e2a2eb1a3101ab8286d24d58fef6fd73aa.tar.gz
Machine generated patch which changes linedisc calls from accessing
linesw[] directly to using the ttyld...() functions The ttyld...() functions ar inline so there is no performance hit.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/ssc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/ia64/ssc.c b/sys/ia64/ia64/ssc.c
index d483aeb..d87aa76 100644
--- a/sys/ia64/ia64/ssc.c
+++ b/sys/ia64/ia64/ssc.c
@@ -164,7 +164,7 @@ sscopen(dev_t dev, int flag, int mode, struct thread *td)
splx(s);
- error = (*linesw[tp->t_line].l_open)(dev, tp);
+ error = ttyld_open(tp, dev);
if (error == 0 && setuptimeout) {
polltime = hz / SSC_POLL_HZ;
@@ -185,7 +185,7 @@ sscclose(dev_t dev, int flag, int mode, struct thread *td)
return ENXIO;
untimeout(ssctimeout, tp, ssctimeouthandle);
- (*linesw[tp->t_line].l_close)(tp, flag);
+ ttyld_close(tp, flag);
ttyclose(tp);
return 0;
}
@@ -242,7 +242,7 @@ ssctimeout(void *v)
while ((c = ssccncheckc(NULL)) != -1) {
if (tp->t_state & TS_ISOPEN)
- (*linesw[tp->t_line].l_rint)(c, tp);
+ ttyld_rint(tp, c);
}
ssctimeouthandle = timeout(ssctimeout, tp, polltime);
}
OpenPOWER on IntegriCloud