On Wed, Apr 17, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > As noted on line 1071: > > If you hit this BUG() it's likely a problem > with some driver's disconnect() routine. > > Leading naturally to Greg's "what drivers were active?" question ...
I agree. This looks like a reference counting bug. > ... though I wonder if the way uhci.c works, it might not leave the > qh->dev field valid rather "late" after unlinking associated URBs. qh->dev is always valid. > That'd be fine, except uhci_free_dev() doesn't ensure that such > device state is all gone. (No such logic in usb-uhci.c either.) What device state? If reference counting is working like it should be, the only time uhci_free_dev is called is when there are no URB's, TD's and QH's assigned to that device. I think we've gone over this before. JE _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
