diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-04 16:02:56 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-04 16:02:56 +0000 |
| commit | 2140d01b277fa2ab698e66dda69e434f0be7bd13 (patch) | |
| tree | 3337821fdd2a353d2216412ea8dd39eb5e65f007 /sys/dev/ofw | |
| parent | d443a4f573fc2d711f482fe749463c0007b462d0 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/ofw_console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index 04ba580fa9bd..fde41e6f3612 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -138,7 +138,7 @@ ofw_dev_open(dev_t dev, int flag, int mode, struct thread *td) return (EBUSY); } - error = (*linesw[tp->t_line].l_open)(dev, tp); + error = ttyld_open(tp, dev); if (error == 0 && setuptimeout) { polltime = hz / OFW_POLL_HZ; @@ -165,7 +165,7 @@ ofw_dev_close(dev_t dev, int flag, int mode, struct thread *td) return (ENXIO); } - (*linesw[tp->t_line].l_close)(tp, flag); + ttyld_close(tp, flag); ttyclose(tp); return (0); @@ -218,7 +218,7 @@ ofw_timeout(void *v) while ((c = ofw_cons_checkc(NULL)) != -1) { if (tp->t_state & TS_ISOPEN) { - (*linesw[tp->t_line].l_rint)(c, tp); + ttyld_rint(tp, c); } } |
