Skip to contentSkip to conversation

ohci_hcd: ALi USB M5237 host controller init quirk

PATCH New Andre Eisenbach 1 participant 1 message Oct 1, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/usb/host/ohci-pci.c +7 -0
@@ -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");
+		}
 	
 	}