In message: <xzps...@dwp.des.no>
de...@des.no (Dag-Erling Sm?rgrav) writes:
: Doug Rabson <df...@nlsystems.com> writes:
: > When the old module unloaded, its driver will have detached from the
: > device which it created. There is no reference to an old driver_t. Its
: > perfectly safe for the new driver to use the old device.
: so why do you say I "shouldn't reset the old driver and desc"?
subr_bus.c does that already on detach. The association between
devclass and device_t is done just prior to probe being called on a
per device basis.