diff options
author | imp <imp@FreeBSD.org> | 2009-03-13 02:15:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-03-13 02:15:49 +0000 |
commit | 6204638785a09f1228eacedc7ac5e8fe6a4fc377 (patch) | |
tree | 5ffe4f47270bb37039d8d9d0c3a06aee203bc3fd /sys/dev/dcons/dcons_os.c | |
parent | da90bd71e1d84b40d4daf7ac20958c9c37d06b56 (diff) | |
download | FreeBSD-src-6204638785a09f1228eacedc7ac5e8fe6a4fc377.zip FreeBSD-src-6204638785a09f1228eacedc7ac5e8fe6a4fc377.tar.gz |
We need to initialize the console for dcons to work.
Submitted by: nork@
Diffstat (limited to 'sys/dev/dcons/dcons_os.c')
-rw-r--r-- | sys/dev/dcons/dcons_os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c index f4d4181..788a3b3 100644 --- a/sys/dev/dcons/dcons_os.c +++ b/sys/dev/dcons/dcons_os.c @@ -360,6 +360,7 @@ dcons_attach_port(int port, char *name, int flags) tp = tty_alloc(&dcons_ttydevsw, dc, NULL); dc->flags = flags; dc->tty = tp; + tty_init_console(tp, 0); tty_makedev(tp, NULL, "%s", name); return(0); } |