diff options
author | phk <phk@FreeBSD.org> | 2006-05-30 07:56:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-05-30 07:56:57 +0000 |
commit | 7ffc807aef7ceba5267e6090e4932e2fc8ce87a1 (patch) | |
tree | 6d3ea54a2f9814cfd2bcf34dce6e4aa3a5336769 /sys/dev/ofw | |
parent | 934871b0b162289de31dc39d34ab4895109c6616 (diff) | |
download | FreeBSD-src-7ffc807aef7ceba5267e6090e4932e2fc8ce87a1.zip FreeBSD-src-7ffc807aef7ceba5267e6090e4932e2fc8ce87a1.tar.gz |
Fix various typos and brainos in last commit.
Submmited by: Andrew Turner <andrew@fubar.geek.nz>
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r-- | sys/dev/ofw/ofw_console.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index 91ed165..e305e7b 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -79,8 +79,7 @@ static cn_term_t ofw_cnterm; static cn_getc_t ofw_cngetc; static cn_putc_t ofw_cnputc; -CONSOLE_DRIVER(ofw) - ofw_cons_checkc, ofw_cons_putc, NULL); +CONSOLE_DRIVER(ofw); static void cn_drvinit(void *unused) @@ -227,7 +226,7 @@ ofw_timeout(void *v) tp = (struct tty *)v; - while ((c = ofw_cons_checkc(NULL)) != -1) { + while ((c = ofw_cngetc(NULL)) != -1) { if (tp->t_state & TS_ISOPEN) { ttyld_rint(tp, c); } @@ -237,7 +236,7 @@ ofw_timeout(void *v) } static void -ofw_cons_probe(struct consdev *cp) +ofw_cnprobe(struct consdev *cp) { int chosen; @@ -269,7 +268,7 @@ ofw_cninit(struct consdev *cp) } static void -ofw_cneterm(struct consdev *cp) +ofw_cnterm(struct consdev *cp) { } |