> > What other cases are there?
>
> Any release_interface() after the the initial probe() succeeded,
> and before the device_add() is issued.  That's not necessarily
> in a probe() method.  Plus there are physical disconnect paths
> that are probably going to need revisiting at some point, given
> a 2.4-ish "disconnect while probing" message I saw recently.

Yes, you are right of course.  As far as I can see it is not a problem
for usbfs, since you can only claim an interface after usbfs_add_device,
which occurs after device_add.  So usbfs can rely on disconnect()
being called for any claimed interfaces (once the physical paths are
fixed up...).

Duncan.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to