diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-05-30 07:56:57 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-05-30 07:56:57 +0000 |
commit | 77dfeead45a3da21dec90d543507be00e830a7c6 (patch) | |
tree | 6d3ea54a2f9814cfd2bcf34dce6e4aa3a5336769 /sys | |
parent | 1164383c76c6e7e6d701434bbb21764c7ae90a03 (diff) | |
download | src-77dfeead45a3da21dec90d543507be00e830a7c6.tar.gz src-77dfeead45a3da21dec90d543507be00e830a7c6.zip |
Fix various typos and brainos in last commit.
Submmited by: Andrew Turner <andrew@fubar.geek.nz>
Notes
Notes:
svn path=/head/; revision=159065
Diffstat (limited to 'sys')
-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 91ed16565b21..e305e7bef648 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) { } |