Merged from sys/dev/sio/sio.c revision 1.472

Stop serial console and gdb serial port from getting all screwed up.
This commit is contained in:
Yoshihiro Takahashi 2008-02-29 05:09:15 +00:00
parent b02402d39a
commit 05f41f56cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176657

View file

@ -3624,7 +3624,7 @@ sio_cnprobe(cp)
continue;
iobase = port;
s = spltty();
if (boothowto & RB_SERIAL) {
if ((boothowto & RB_SERIAL) && COM_CONSOLE(flags)) {
boot_speed =
siocngetspeed(iobase, comdefaultrclk);
if (boot_speed)