diff options
author | imp <imp@FreeBSD.org> | 2002-01-17 16:16:51 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-01-17 16:16:51 +0000 |
commit | 64a75a722d20a87d1d8921a32f5d2699305f13f3 (patch) | |
tree | 1211bf63ea96f9a30ecfc6b39c09ee862ca2c934 /sys/dev/sio/sio.c | |
parent | 27af5a5a040400edd6619f4b46a312300e4edcbc (diff) | |
download | FreeBSD-src-64a75a722d20a87d1d8921a32f5d2699305f13f3.zip FreeBSD-src-64a75a722d20a87d1d8921a32f5d2699305f13f3.tar.gz |
While I'm not sure that I like the wording of the BIOS message in the
previous commit, it should always print due to lack of {} around the
second line in the if statement. The message should likely say
something more like "There's no hardware responding at this IRQ.
Device not present (or disbaled)," but that is too long. We generally
don't give elementary advise in device driver messages anyway. Be
that as it may, the problem with it printing all the time should be
corrected.
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r-- | sys/dev/sio/sio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 10eb690..93c5b3e 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -762,13 +762,14 @@ sioprobe(dev, xrid, noprobe) irqs = irqmap[1] & ~irqmap[0]; if (bus_get_resource(idev, SYS_RES_IRQ, 0, &xirq, NULL) == 0 && - ((1 << xirq) & irqs) == 0) + ((1 << xirq) & irqs) == 0) { 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), |