lkml.org 
[lkml]   [2004]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] ohci_hcd: ALi USB M5237 host controller init quirk
This patch fixes an error (init error -75) when initializing the ALi M5237 host controller which otherwise renders the USB bus inoperable.

Patch has been tested successfully on a Compaq Presario 2100z notebook.

Signed-off-by: Andre Eisenbach <andre@eisenbach.com>

--- previous/drivers/usb/host/ohci-pci.c 2004-09-23 09:29:02.000000000 -0700
+++ current/drivers/usb/host/ohci-pci.c 2004-09-30 17:02:24.000000000 -0700
@@ -94,6 +94,13 @@
ohci->flags = OHCI_QUIRK_INITRESET;
ohci_info(ohci, "SiS init quirk\n");
}
+
+ /* ALi USB 1.1 controller fails init without this */
+ else if (pdev->vendor == PCI_VENDOR_ID_AL
+ && pdev->device == PCI_DEVICE_ID_AL_M5237) {
+ ohci->flags = OHCI_QUIRK_INITRESET;
+ ohci_info(ohci, "ALi M5237 init quirk\n");
+ }

}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.028 / U:22.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site