CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2012/05/25 11:11:40

Modified files:
        sys/arch/sparc/dev: zs.c 

Log message:
Correctly handle the case of a system setup to use glass console, which
frame buffer has been removed, but which keyboard is left plugged in.
The PROM will select a `keyboard input, serial output' console, which was
being recognized as glass console by the kernel. The kernel would then
reset the serial chip at zstty attach time, while still using the PROM
output routines at this point, and hang.

Fix this by paying attention to split input/output setups and always falling
back to serial console in this case.

ok kettenis@

Reply via email to