We need to initialize the console for dcons to work.

Submitted by:	nork@
This commit is contained in:
imp 2009-03-13 02:15:49 +00:00
parent da90bd71e1
commit 6204638785

View File

@ -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);
}