Stephen Hemminger wrote:
The USB host controller interface does not have reference counts so ...

Greg already rejected this patch, but his message forgot to highlight a false premise: there are usb_bus_{put,get}() routines, which use the refcount in the class_device!


is possible to remove a host controller module on the fly, leaving all sorts
of dangling callback hooks and potentially outstanding URB's.

If root hub disconnect() logic doesn't work, it's not necessarily because of HCD or even usbcore problems!

Historically disconnect bugs have been extremely common ... but 2.6
kernels have been shifting more of that responsibility onto usbcore
and the HCDs.  Once UHCI gets an endpoint_disable() method, then none
of the main HCDs will have any excuse to have any problem like that.

- Dave





-------------------------------------------------------
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