On Fri, 22 Aug 2008, David Miller wrote: > Before the OHCI_INTR_RHSC disabling code was moved to the main OHCI > interrupt handler, it was happening after the root hub status was > read. > > Perhaps that was important to clear the interrupt reliably? I don't see why reading the root-hub status should affect whether the interrupt gets cleared, but then who knows what bizarre thoughts lurk in the minds of chip designers... Meelis, in keeping with David's suggestion about posting the PCI writes, you ought to apply this patch along with the previous one. I doubt it will make any difference, but it's worth doing anyway. Alan Stern Index: usb-2.6/drivers/usb/host/ohci-hcd.c =================================================================== --- usb-2.6.orig/drivers/usb/host/ohci-hcd.c +++ usb-2.6/drivers/usb/host/ohci-hcd.c @@ -879,10 +879,10 @@ static irqreturn_t ohci_irq (struct usb_ if (HC_IS_RUNNING(hcd->state)) { ohci_writel (ohci, ints, ®s->intrstatus); ohci_writel (ohci, OHCI_INTR_MIE, ®s->intrenable); - // flush those writes - (void) ohci_readl (ohci, &ohci->regs->control); } + /* flush all writes */ + ohci_readl(ohci, &ohci->regs->control); return IRQ_HANDLED; } -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html