> In theory, if one matches with a -1 or smaller rather than 0, then it
> will be detached on reprobe. Isn't that the case?
On -newbus this issue has come up and the conclusion was that there is
always some problem rearing its ugly head. On loading a new driver you
would have to run a non-intrusive probe on the device (if at all
possible, some USB devices won't let you do that), the driver needs to
detach (if possible, what if they attached to a CAM SIM which you
should not delete) and the new driver needs to attach and initialise
the device (if possible, what about ISA cards that freeze if you treat
them the wrong way?).
The issue is pretty hairy and for now I think the solution is to make
any stub use DEVICE_NOMATCH (see pci.c), which does not attach a driver
to a device, just mentions it during boot.
I have no idea however whether this can be done with the unknown driver
Nick
--
[EMAIL PROTECTED]
[EMAIL PROTECTED] USB project
http://www.etla.net/~n_hibma/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message