[PATCH] ohci_hcd: ALi USB M5237 host controller init quirk

Andre Eisenbach
2004-10-01T00:38:16Z

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");
+ }

}