|
@@ -870,9 +870,10 @@ static void __devinit quirk_usb_handoff_xhci(struct pci_dev *pdev)
|
|
/* Disable any BIOS SMIs and clear all SMI events*/
|
|
/* Disable any BIOS SMIs and clear all SMI events*/
|
|
writel(val, base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET);
|
|
writel(val, base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET);
|
|
|
|
|
|
|
|
+hc_init:
|
|
if (usb_is_intel_switchable_xhci(pdev))
|
|
if (usb_is_intel_switchable_xhci(pdev))
|
|
usb_enable_xhci_ports(pdev);
|
|
usb_enable_xhci_ports(pdev);
|
|
-hc_init:
|
|
|
|
|
|
+
|
|
op_reg_base = base + XHCI_HC_LENGTH(readl(base));
|
|
op_reg_base = base + XHCI_HC_LENGTH(readl(base));
|
|
|
|
|
|
/* Wait for the host controller to be ready before writing any
|
|
/* Wait for the host controller to be ready before writing any
|