From 58e4738b7973eae34a06ee0f41f657aab408a966 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 5 Dec 2007 05:16:56 +0000 Subject: Stop serial console and gdb serial port from getting all screwed up. PR: 65278 MFC in: 3 days Submitted by: ups@ --- sys/dev/sio/sio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sio/sio.c') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 04d10ef..3db7f59 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -2443,7 +2443,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) -- cgit v1.1