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
This commit is contained in:
parent
7d1861f51b
commit
ea9e3e8f9b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user