db4f8332f0
Previously we just probed and then immediately attached if any devices were found, after all initialization was done. Now we cannot do that, as after calling SYSINIT() on certain drivers (e.g. the new ipro1000 driver), certain threads will be created that there is no good way of tearing down. Fortunately, it is valid to call probe() on a device before SYSINIT() (and most other things) have been initialized, and so now we do that in init_hardware, and then init_driver is called only if we've found devices we support. While we're at it, also call pci->reserve_device, which will mark us as the driver handling said device and prevent other drivers from using it. |
||
---|---|---|
.. | ||
add-ons | ||
apps | ||
bin | ||
build | ||
data | ||
kits | ||
libs | ||
preferences | ||
servers | ||
system | ||
tests | ||
tools | ||
Jamfile |