Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Status of itohy-usb1 branch and/or device support in the axe driver?



On Monday 04 January 2010 05:12:42 Masao Uebayashi wrote:
> BTW, one reason I'm hesitating to work on USB is my DELL OptiPlex 745
>  (the only MP machine I have) has interrupt problems with ehci/uhci
>  enabled.  Fixing x86 interrupt code is beyond my scope. :P

The below patch from Michael Hitch (see PR 35553) has worked around the 
interrupt problems on our OptiPlex 745's for the last couple of years.

--- sys/dev/usb/uhci.c  4 Oct 2009 00:01:16 -0000       1.223.6.1
+++ sys/dev/usb/uhci.c  25 Oct 2009 19:32:02 -0000
@@ -1336,6 +1336,8 @@
        status = UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS;
        if (status == 0)        /* The interrupt was not for us. */
                return (0);
+       if (status == UHCI_STS_HCH)     /* XXX */
+               return (0);

        if (sc->sc_suspend != PWR_RESUME) {
 #ifdef DIAGNOSTIC


cheers
mark


Home | Main Index | Thread Index | Old Index