[PATCH 2/2] USB: xhci: show firmware version for Renesas XHCI hosts if debug is enabled

From: Alexander Holler
Date: Wed May 29 2013 - 17:15:39 EST


They support the same vendor specific command as former NEC hosts.

Signed-off-by: Alexander Holler <holler@xxxxxxxxxxxxx>
---
drivers/usb/host/xhci-pci.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index f47d3d2..9977cee 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -78,7 +78,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
xhci->quirks |= XHCI_TRUST_TX_LENGTH;
}

- if (pdev->vendor == PCI_VENDOR_ID_NEC)
+ if (pdev->vendor == PCI_VENDOR_ID_NEC ||
+ pdev->vendor == PCI_VENDOR_ID_RENESAS)
xhci->quirks |= XHCI_NEC_SHOW_FW;

if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96)
--
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/