]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xhci: Add Lynx Point LP to list of Intel switchable hosts
authorRussell Webb <russell.webb@linux.intel.com>
Fri, 9 Nov 2012 21:58:49 +0000 (13:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:03:41 +0000 (09:03 -0800)
commit bb1e5dd7113d2fd178d3af9aca8f480ae0468edf upstream.

Like Lynx Point, Lynx Point LP is also switchable.  See
1c12443ab8eba71a658fae4572147e56d1f84f66 for more details.

This patch should be backported to stable kernels as old as 3.0,
that contain commit 69e848c2090aebba5698a1620604c7dccb448684
"Intel xhci: Support EHCI/xHCI port switching."

Signed-off-by: Russell Webb <russell.webb@linux.intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-pci.c
drivers/usb/host/pci-quirks.c

index f76831480c6ef6a35bab6ca2169f21112ee172e0..175c574ec9f15d0494171f8cbabb3f9a3f46cc2f 100644 (file)
@@ -359,7 +359,8 @@ static bool usb_is_intel_switchable_ehci(struct pci_dev *pdev)
                pdev->vendor == PCI_VENDOR_ID_INTEL &&
                (pdev->device == 0x1E26 ||
                 pdev->device == 0x8C2D ||
-                pdev->device == 0x8C26);
+                pdev->device == 0x8C26 ||
+                pdev->device == 0x9C26);
 }
 
 static void ehci_enable_xhci_companion(void)
index 3f623fb548f8ddddace2692f9a36efad2acf051e..0f097d366ebadff4e29c230ccd1266e02378e4a1 100644 (file)
@@ -721,6 +721,7 @@ static int handshake(void __iomem *ptr, u32 mask, u32 done,
 }
 
 #define PCI_DEVICE_ID_INTEL_LYNX_POINT_XHCI    0x8C31
+#define PCI_DEVICE_ID_INTEL_LYNX_POINT_LP_XHCI 0x9C31
 
 bool usb_is_intel_ppt_switchable_xhci(struct pci_dev *pdev)
 {
@@ -734,7 +735,8 @@ bool usb_is_intel_lpt_switchable_xhci(struct pci_dev *pdev)
 {
        return pdev->class == PCI_CLASS_SERIAL_USB_XHCI &&
                pdev->vendor == PCI_VENDOR_ID_INTEL &&
-               pdev->device == PCI_DEVICE_ID_INTEL_LYNX_POINT_XHCI;
+               (pdev->device == PCI_DEVICE_ID_INTEL_LYNX_POINT_XHCI ||
+                pdev->device == PCI_DEVICE_ID_INTEL_LYNX_POINT_LP_XHCI);
 }
 
 bool usb_is_intel_switchable_xhci(struct pci_dev *pdev)