mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
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.
This commit is contained in:
parent
c6a51f1c4a
commit
ba24c8d971
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89463
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user