diff options
author | David Brownell <david-b@pacbell.net> | 2005-04-18 20:39:30 -0400 |
---|---|---|
committer | Greg K-H <gregkh@suse.de> | 2005-04-18 20:39:30 -0400 |
commit | 0e4987639a774d08b69c1c58774f3430f6083d4f (patch) | |
tree | d9d9eb475b11c05b069c715df50f9e6d89c32ecf /drivers/usb/host/ohci-pci.c | |
parent | a2fe20129e2d87dc5c4e5c850b41b5b0b47cfd08 (diff) |
[PATCH] USB: OHCI on Compaq Aramada 7400
This adds a quirk to the OHCI driver that lets it work with an old
Compaq implementation. It also removes some needless strings from
the non-debug version of the driver.
Signed-off-by: Chris Clayton <chris_clayton@f1internet.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-pci.c')
-rw-r--r-- | drivers/usb/host/ohci-pci.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c index f30118b5f9aa..57fd07d00549 100644 --- a/drivers/usb/host/ohci-pci.c +++ b/drivers/usb/host/ohci-pci.c | |||
@@ -54,7 +54,7 @@ ohci_pci_start (struct usb_hcd *hcd) | |||
54 | if (pdev->vendor == PCI_VENDOR_ID_AMD | 54 | if (pdev->vendor == PCI_VENDOR_ID_AMD |
55 | && pdev->device == 0x740c) { | 55 | && pdev->device == 0x740c) { |
56 | ohci->flags = OHCI_QUIRK_AMD756; | 56 | ohci->flags = OHCI_QUIRK_AMD756; |
57 | ohci_info (ohci, "AMD756 erratum 4 workaround\n"); | 57 | ohci_dbg (ohci, "AMD756 erratum 4 workaround\n"); |
58 | // also somewhat erratum 10 (suspend/resume issues) | 58 | // also somewhat erratum 10 (suspend/resume issues) |
59 | } | 59 | } |
60 | 60 | ||
@@ -68,7 +68,7 @@ ohci_pci_start (struct usb_hcd *hcd) | |||
68 | */ | 68 | */ |
69 | else if (pdev->vendor == PCI_VENDOR_ID_OPTI | 69 | else if (pdev->vendor == PCI_VENDOR_ID_OPTI |
70 | && pdev->device == 0xc861) { | 70 | && pdev->device == 0xc861) { |
71 | ohci_info (ohci, | 71 | ohci_dbg (ohci, |
72 | "WARNING: OPTi workarounds unavailable\n"); | 72 | "WARNING: OPTi workarounds unavailable\n"); |
73 | } | 73 | } |
74 | 74 | ||
@@ -84,9 +84,20 @@ ohci_pci_start (struct usb_hcd *hcd) | |||
84 | if (b && b->device == PCI_DEVICE_ID_NS_87560_LIO | 84 | if (b && b->device == PCI_DEVICE_ID_NS_87560_LIO |
85 | && b->vendor == PCI_VENDOR_ID_NS) { | 85 | && b->vendor == PCI_VENDOR_ID_NS) { |
86 | ohci->flags |= OHCI_QUIRK_SUPERIO; | 86 | ohci->flags |= OHCI_QUIRK_SUPERIO; |
87 | ohci_info (ohci, "Using NSC SuperIO setup\n"); | 87 | ohci_dbg (ohci, "Using NSC SuperIO setup\n"); |
88 | } | 88 | } |
89 | } | 89 | } |
90 | |||
91 | /* Check for Compaq's ZFMicro chipset, which needs short | ||
92 | * delays before control or bulk queues get re-activated | ||
93 | * in finish_unlinks() | ||
94 | */ | ||
95 | else if (pdev->vendor == PCI_VENDOR_ID_COMPAQ | ||
96 | && pdev->device == 0xa0f8) { | ||
97 | ohci->flags |= OHCI_QUIRK_ZFMICRO; | ||
98 | ohci_dbg (ohci, | ||
99 | "enabled Compaq ZFMicro chipset quirk\n"); | ||
100 | } | ||
90 | } | 101 | } |
91 | 102 | ||
92 | /* NOTE: there may have already been a first reset, to | 103 | /* NOTE: there may have already been a first reset, to |