On Mon, Oct 18, 2004 at 06:52:47PM -0700, David Brownell wrote: > On Monday 18 October 2004 12:52 pm, Matthew Dharm wrote: > > > How does this look? It seems to work for me. > > Looks OK to me. I'll put it in my tree and send it along later, > when the queues get unblocked. Thanks!
Of course, I borked the patch... needed a == instead of = when testing the
device value.
Here's the fixed patch.
Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]>
===== drivers/usb/host/ehci-hcd.c 1.136 vs edited =====
--- 1.136/drivers/usb/host/ehci-hcd.c 2004-09-30 10:39:33 -07:00
+++ edited/drivers/usb/host/ehci-hcd.c 2004-10-18 12:25:31 -07:00
@@ -347,9 +347,17 @@
#ifdef CONFIG_PCI
/* EHCI 0.96 and later may have "extended capabilities" */
- if (hcd->self.controller->bus == &pci_bus_type)
+ if (hcd->self.controller->bus == &pci_bus_type) {
+ struct pci_dev* pdev = to_pci_dev(ehci->hcd.self.controller);
temp = HCC_EXT_CAPS (readl (&ehci->caps->hcc_params));
- else
+
+ /* AMD8111 EHCI doesn't work according to AMD errata */
+ if ((pdev->vendor == PCI_VENDOR_ID_AMD) &&
+ (pdev->device == 0x7464)) {
+ ehci_info (ehci, "rejecting AMD8111 for known bugs\n");
+ return -EIO;
+ }
+ } else
temp = 0;
while (temp && count--) {
u32 cap;
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
But where are the THEMES?! How do you expect me to use an OS without
themes?!
-- Stef
User Friendly, 10/9/1998
pgpcpJgtPsLrg.pgp
Description: PGP signature
