Have sio return BIS_PROBE_DEFAULT like all the other drivers in the
tree... John Baldwin noted that sio might pass values between probe and attach via softc. It appears that sio does leave the hardware in a known state after probing, so other drivers that try to probe might leave it in a worse state. It doesn't seem to pass any data in softc, however, that I could find... I think we should not be probing for anything but nonPnP isa, but that's a change for another day. Submitted by: Frank Behrens PR: 87845
This commit is contained in:
parent
aa1d7ce72f
commit
6c6d4885ee
@ -700,7 +700,7 @@ sioprobe(dev, xrid, rclk, noprobe)
|
||||
device_set_softc(dev, NULL);
|
||||
free(com, M_DEVBUF);
|
||||
}
|
||||
return (result);
|
||||
return (result == 0 ? BUS_PROBE_DEFAULT : result);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -777,7 +777,7 @@ sioprobe(dev, xrid, rclk, noprobe)
|
||||
device_set_softc(dev, NULL);
|
||||
free(com, M_DEVBUF);
|
||||
}
|
||||
return (result);
|
||||
return (result == 0 ? BUS_PROBE_DEFAULT : result);
|
||||
}
|
||||
|
||||
#ifdef COM_ESP
|
||||
|
Loading…
Reference in New Issue
Block a user