From: Thomas Dodd <ted@cypress.com>
To: linux-kernel@vger.kernel.org
Cc: David Brownell <david-b@pacbell.net>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Contacts within AMD? AMD-756 USB host-controller blacklisted dueto
Date: Wed, 04 Apr 2001 19:08:03 -0500 [thread overview]
Message-ID: <3ACBB763.DC728EA3@cypress.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0104050004060.21943-100000@campari.convergence.de> <052c01c0bd5b$0843ab60$6800000a@brownell.org>
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
David Brownell wrote:
> > please correct me if i'm wrong i only don't want to blacklist complete
> > chipset-series
>
> Then feel free to develop and submit a better fix. That'd
> be more practical if AMD's workaround were public. As I
> understand it, the bulk of the production chips have this
> erratum. More power to RedHat getting info from AMD.
> Meanwhile, this patch improves robustness.
Comprimise?
This patch make it a config option to enable the AMD-756.
It's marked DANGEROUS and EXPERIMENTAL, and is only
available if CONFIG_EXPERIMENTAL is set.
This makes the default to blacklist the AMD-756
but it can be used if one wants to try.
-Thomas
[-- Attachment #2: AMD-USB.patch --]
[-- Type: text/plain, Size: 1771 bytes --]
diff -u --new-file --recursive linux-2.4.3-ac2.orig/drivers/usb/Config.in linux-2.4.3-ac2/drivers/usb/Config.in
--- linux-2.4.3-ac2.orig/drivers/usb/Config.in Wed Apr 4 15:23:13 2001
+++ linux-2.4.3-ac2/drivers/usb/Config.in Wed Apr 4 16:13:52 2001
@@ -24,6 +24,9 @@
dep_tristate ' UHCI Alternate Driver (JE) support' CONFIG_USB_UHCI_ALT $CONFIG_USB
fi
dep_tristate ' OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support' CONFIG_USB_OHCI $CONFIG_USB
+ if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+ bool ' AMD-756 OHCI support (DANGEROUS)(EXPERIMENTAL)' CONFIG_AMD_OHCI_OK
+ fi
comment 'USB Device Class drivers'
dep_tristate ' USB Audio support' CONFIG_USB_AUDIO $CONFIG_USB $CONFIG_SOUND
diff -u --new-file --recursive linux-2.4.3-ac2.orig/drivers/usb/usb-ohci.c linux-2.4.3-ac2/drivers/usb/usb-ohci.c
--- linux-2.4.3-ac2.orig/drivers/usb/usb-ohci.c Wed Apr 4 15:23:15 2001
+++ linux-2.4.3-ac2/drivers/usb/usb-ohci.c Wed Apr 4 16:18:01 2001
@@ -2332,13 +2332,14 @@
unsigned long mem_resource, mem_len;
void *mem_base;
+#ifndef CONFIG_AMD_OHCI_OK
/* blacklisted hardware? */
if (id->driver_data) {
info ("%s (%s): %s", dev->slot_name,
dev->name, (char *) id->driver_data);
return -ENODEV;
}
-
+#endif
if (pci_enable_device(dev) < 0)
return -ENODEV;
@@ -2508,6 +2509,7 @@
* AMD-756 [Viper] USB has a serious erratum when used with
* lowspeed devices like mice; oopses have been seen. The
* vendor workaround needs an NDA ... for now, blacklist it.
+ * Use CONFIG_AMD_OHCI_OK to try anyway.
*/
vendor: 0x1022,
device: 0x740c,
next prev parent reply other threads:[~2001-04-05 0:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 17:46 Contacts within AMD? AMD-756 USB host-controller blacklisted due to erratum #4 Miles Lane
2001-04-03 19:10 ` Contacts within AMD? AMD-756 USB host-controller blacklisted due to Alan Cox
2001-04-04 19:12 ` Thomas Dodd
2001-04-04 18:54 ` Miles Lane
2001-04-04 22:19 ` Joachim 'roh' Steiger
2001-04-04 21:40 ` Miles Lane
2001-04-04 23:50 ` Ryan Butler
2001-04-04 23:00 ` David Brownell
2001-04-05 0:08 ` Thomas Dodd [this message]
2001-04-05 0:27 ` Contacts within AMD? AMD-756 USB host-controller blacklisted dueto Alan Cox
2001-04-05 20:29 ` Thomas Dodd
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=3ACBB763.DC728EA3@cypress.com \
--to=ted@cypress.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=david-b@pacbell.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox