Here's a patch that tweaks a different area of the code.
Makes a difference for me; maybe for you too?

- Dave

--- 1.70/drivers/usb/host/ehci-q.c      Mon Feb 24 03:30:38 2003
+++ edited/drivers/usb/host/ehci-q.c    Sun Mar  2 23:25:09 2003
@@ -712,6 +712,11 @@
                if (!(cmd & CMD_ASE)) {
                        /* in case a clear of CMD_ASE didn't take yet */
                        (void) handshake (&ehci->regs->status, STS_ASS, 0, 150);
+
+                       /* force async head to be valid */
+                       writel ((u32)ehci->async->qh_dma,
+                                       &ehci->regs->async_next);
+
                        cmd |= CMD_ASE | CMD_RUN;
                        writel (cmd, &ehci->regs->command);
                        ehci->hcd.state = USB_STATE_RUNNING;
@@ -916,7 +921,7 @@
 
        del_timer (&ehci->watchdog);
 
-       qh->hw_next = cpu_to_le32 (qh->qh_dma);
+       // qh->hw_next = cpu_to_le32 (qh->qh_dma);
        qh->qh_state = QH_STATE_IDLE;
        qh->qh_next.qh = 0;
        qh_put (ehci, qh);                      // refcount from reclaim 

Reply via email to