Skip to content

Commit

Permalink
xhci: Add Lynx Point LP to list of Intel switchable hosts
Browse files Browse the repository at this point in the history
Like Lynx Point, Lynx Point LP is also switchable.  See
1c12443 for more details.

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

Signed-off-by: Russell Webb <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Cc: [email protected]
  • Loading branch information
Russell Webb authored and Sarah Sharp committed Nov 28, 2012
1 parent ffa5c41 commit bb1e5dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/usb/host/ehci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,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)
Expand Down
4 changes: 3 additions & 1 deletion drivers/usb/host/pci-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,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)
{
Expand All @@ -736,7 +737,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)
Expand Down

0 comments on commit bb1e5dd

Please sign in to comment.