Initialize t_timeout to -1 for console to set its default value once in ttyopen
This commit is contained in:
parent
68c68f014d
commit
e52ac4f6d6
@ -2526,6 +2526,7 @@ scinit(int unit, int flags)
|
||||
if (flags & SC_KERNEL_CONSOLE) {
|
||||
sc->dev = main_devs;
|
||||
sc->dev[0] = makedev(CDEV_MAJOR, unit*MAXCONS);
|
||||
main_tty.t_timeout = -1;
|
||||
sc->dev[0]->si_tty = &main_tty;
|
||||
ttyregister(&main_tty);
|
||||
scp = &main_console;
|
||||
|
Loading…
Reference in New Issue
Block a user