Properly probe for the serial port. If the serial port is unmapped or
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 27 Jun 2004 21:26:40 +0000 (21:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 27 Jun 2004 21:26:40 +0000 (21:26 +0000)
commit5930a93b5230e1ca26a90c153eff9fd99c613066
treef638b28aa60b1a2d6937a4d1e29bb7358d45e3f7
parenta29576fcd8d0c20866710de100e13073a50fea35
Properly probe for the serial port.  If the serial port is unmapped or
we can't clear the LSR_RXRDY bit by draining the data port then attempting
to use the serial port will result in an input loop lockup.
sys/boot/i386/libi386/comconsole.c
sys/boot/pc32/libi386/comconsole.c