We need to initialize the console for dcons to work.
Submitted by: nork@
This commit is contained in:
parent
da90bd71e1
commit
6204638785
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user