aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-02-20 20:54:45 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-02-20 20:54:45 +0000
commit263444cfbfe839364122db12047d90ffbde001f0 (patch)
treefe84e49e8fed83b0535fa5e72d7341488cc6b288 /sys/dev/ofw
parentf355124f7f1347e3f771c8d1d764ae4f387a4dfd (diff)
Notes
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofw_console.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c
index 149739fce878..379a75322198 100644
--- a/sys/dev/ofw/ofw_console.c
+++ b/sys/dev/ofw/ofw_console.c
@@ -224,7 +224,7 @@ ofw_tty_start(struct tty *tp)
tp->t_state |= TS_BUSY;
while (tp->t_outq.c_cc != 0) {
- ofw_cons_putc(tp->t_dev, getc(&tp->t_outq));
+ ofw_cons_putc(NULL, getc(&tp->t_outq));
}
tp->t_state &= ~TS_BUSY;
@@ -250,7 +250,7 @@ ofw_timeout(void *v)
tp = (struct tty *)v;
- while ((c = ofw_cons_checkc(tp->t_dev)) != -1) {
+ while ((c = ofw_cons_checkc(NULL)) != -1) {
if (tp->t_state & TS_ISOPEN) {
(*linesw[tp->t_line].l_rint)(c, tp);
}
@@ -292,7 +292,7 @@ ofw_cons_init(struct consdev *cp)
}
static int
-ofw_cons_getc(dev_t dev)
+ofw_cons_getc(struct consdev *cp)
{
unsigned char ch;
int l;
@@ -314,7 +314,7 @@ ofw_cons_getc(dev_t dev)
}
static int
-ofw_cons_checkc(dev_t dev)
+ofw_cons_checkc(struct consdev *cp)
{
unsigned char ch;
@@ -330,7 +330,7 @@ ofw_cons_checkc(dev_t dev)
}
static void
-ofw_cons_putc(dev_t dev, int c)
+ofw_cons_putc(struct consdev *cp, int c)
{
char cbuf;