summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2007-12-05 05:16:56 +0000
committerjulian <julian@FreeBSD.org>2007-12-05 05:16:56 +0000
commit58e4738b7973eae34a06ee0f41f657aab408a966 (patch)
tree34cb3502dcdecb02758011fdf67e28206e1a5088 /sys/dev/sio/sio.c
parentca18adc0b5e90ed3a6c27bd39493e50c4ce2f334 (diff)
downloadFreeBSD-src-58e4738b7973eae34a06ee0f41f657aab408a966.zip
FreeBSD-src-58e4738b7973eae34a06ee0f41f657aab408a966.tar.gz
Stop serial console and gdb serial port from getting all screwed up.
PR: 65278 MFC in: 3 days Submitted by: ups@
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud