Vojtech,
Here is a patch for a race condition in the usb-ohci driver.
The failure was a " usb_control/bulk_msg: timeout" when
plugging a hub into a system with a slower processor.
Bob
--- usb-ohci.c.old Tue May 9 14:35:34 2000
+++ usb-ohci.c Fri May 12 13:38:42 2000
@@ -496,13 +496,11 @@
if (ed->state != ED_OPER) /* link the ed into a chain if is not already */
ep_link (ohci, ed);
-
+
+ urb->status = USB_ST_URB_PENDING;
td_submit_urb (urb); /* fill the TDs and link it to the ed */
spin_unlock_irqrestore (&usb_ed_lock, flags);
-
- urb->status = USB_ST_URB_PENDING;
- // queue_urb(s, &urb->urb_list);
return 0;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]