Greg KH wrote:
On Tue, Feb 25, 2003 at 08:42:10AM +0100, Duncan Sands wrote:

The other way is to follow Dave's contract.


Heh, or we could make lives easier for driver writers by not requiring
such a complicated contract that almost none of the current drivers
follow :)

Actually, I'd say it's simple enough that most of them already do it. (Or we'd be hearing a lot more bugs ...)

Certainly drivers can't veer too far from that rule I outlined (don't
use the device after you get a disconnect notification) if they expect
to work in the various cases drivers need to get kicked off interfaces.

Those include physical disconnect and rmmod, where there are some other
mechanisms that eventually kick in, as well as config changes (where
there is no such mechanism) and user mode drivers taking over from the
kernel mode one.

- Dave



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to