public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ohci_hcd: ALi USB M5237 host controller init quirk
@ 2004-10-01  0:39 Andre Eisenbach
  0 siblings, 0 replies; only message in thread
From: Andre Eisenbach @ 2004-10-01  0:39 UTC (permalink / raw)
  To: akpm, bjorn.helgaas; +Cc: Andre Eisenbach, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-01  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-01  0:39 [PATCH] ohci_hcd: ALi USB M5237 host controller init quirk Andre Eisenbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox