summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2002-01-17 06:21:45 +0000
committerbmah <bmah@FreeBSD.org>2002-01-17 06:21:45 +0000
commitcbe08cf3520cff6a7dd12d953abaa0d0e53f1fc2 (patch)
treeecc4872b1ffb228b89a0b8648b9c5cc9a0741797 /sys/dev/sio/sio.c
parentbba61e503cea9cd96d37980935c7e19d239a5111 (diff)
downloadFreeBSD-src-cbe08cf3520cff6a7dd12d953abaa0d0e53f1fc2.zip
FreeBSD-src-cbe08cf3520cff6a7dd12d953abaa0d0e53f1fc2.tar.gz
Make sio device probe messages less misleading, for the case that
a port is either disabled or not responding. PR: 33963 Submitted by: Kevin Oberman <oberman@es.net> MFC after: 2 weeks
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 5603096..10eb690 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -766,6 +766,9 @@ sioprobe(dev, xrid, noprobe)
printf(
"sio%d: configured irq %ld not in bitmap of probed irqs %#x\n",
device_get_unit(dev), xirq, irqs);
+ printf(
+ "sio%d: port may not be enabled in BIOS\n",
+ device_get_unit(dev));
if (bootverbose)
printf("sio%d: irq maps: %#x %#x %#x %#x\n",
device_get_unit(dev),
@@ -979,7 +982,7 @@ sioattach(dev, xrid)
scr2 = sio_getreg(com, com_scr);
sio_setreg(com, com_scr, scr);
if (scr1 != 0xa5 || scr2 != 0x5a) {
- printf(" 8250");
+ printf(" 8250 or not responding");
goto determined_type;
}
}
OpenPOWER on IntegriCloud