All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Eisenbach <andre@eisenbach.com>
To: akpm@osdl.org, bjorn.helgaas@hp.com
Cc: Andre Eisenbach <andre@eisenbach.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] ohci_hcd: ALi USB M5237 host controller init quirk
Date: Thu, 30 Sep 2004 19:39:47 -0500	[thread overview]
Message-ID: <20041001003638.11038.64652.40892@localhost> (raw)

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

                 reply	other threads:[~2004-10-01  0:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041001003638.11038.64652.40892@localhost \
    --to=andre@eisenbach.com \
    --cc=akpm@osdl.org \
    --cc=bjorn.helgaas@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.