[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1330629843-6027-3-git-send-email-yinghai@kernel.org>
Date: Thu, 1 Mar 2012 11:24:03 -0800
From: Yinghai Lu <yinghai@...nel.org>
To: Sarah Sharp <sarah.a.sharp@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jesse Barnes <jbarnes@...tuousgeek.org>
Cc: linux-usb@...r.kernel.org, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, Yinghai Lu <yinghai@...nel.org>,
Jayachandran C <jayachandranc@...logicmicro.com>
Subject: [RFC PATCH 3/3] usb, PCI: remove vendor checking for netlogic with uhci/xhci
| commit e4436a7c17ac2b5e138f93f83a541cba9b311685
| usb: Skip PCI USB quirk handling for Netlogic XLP
| The Netlogic XLP SoC's on-chip USB controller appears as a PCI
| USB device, but does not need the EHCI/OHCI handoff done in
| usb/host/pci-quirks.c.
so only do that checking for EHCI and OHCI.
Signed-off-by: Yinghai Lu <yinghai@...nel.org>
Cc: Jayachandran C <jayachandranc@...logicmicro.com>
---
drivers/usb/host/pci-quirks.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
Index: linux-2.6/drivers/usb/host/pci-quirks.c
===================================================================
--- linux-2.6.orig/drivers/usb/host/pci-quirks.c
+++ linux-2.6/drivers/usb/host/pci-quirks.c
@@ -884,15 +884,8 @@ static void __devinit quirk_usb_handoff_
iounmap(base);
}
-static void __devinit quirk_usb_early_handoff_uhci(struct pci_dev *pdev)
-{
- if (pdev->vendor == 0x184e) /* vendor Netlogic */
- return;
-
- quirk_usb_handoff_uhci(pdev);
-}
DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
- PCI_CLASS_SERIAL_USB_UHCI, 0, quirk_usb_early_handoff_uhci);
+ PCI_CLASS_SERIAL_USB_UHCI, 0, quirk_usb_handoff_uhci);
static void __devinit quirk_usb_early_handoff_ohci(struct pci_dev *pdev)
{
@@ -919,9 +912,6 @@ DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID
static void __devinit quirk_usb_early_handoff_xhci(struct pci_dev *pdev)
{
- if (pdev->vendor == 0x184e) /* vendor Netlogic */
- return;
-
if (pci_enable_device(pdev) < 0) {
dev_warn(&pdev->dev, "Can't enable PCI device, "
"BIOS handoff failed.\n");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists