Device driver unload
Alexander Motin
mav at FreeBSD.org
Sat May 22 03:39:29 UTC 2010
Hi.
I think we have some inconsistency around device driver unloading. When
devices gets no driver during boot, bus driver receives
BUS_PROBE_NOMATCH() call, allowing to power-down the device. But if
device looses driver after module unload - nothing happens.
So my question is: shouldn't we call either device_probe_and_attach() or
BUS_PROBE_NOMATCH() for devices detached due to driver unload? If there
is no alternative driver - device_probe_and_attach() also result in
BUS_PROBE_NOMATCH() call.
--
Alexander Motin
More information about the freebsd-arch
mailing list