Created
September 4, 2013 09:53
-
-
Save fcwu/6434999 to your computer and use it in GitHub Desktop.
diff linux-lts-quantal-3.5.0/drivers/usb/host/pci-quirks.c orig/drivers/usb/host/pci-quirks.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94,107d93 | |
< u32 intel_xusb2pr = 0xFFFFFFFF; | |
< | |
< static int __init intel_xusb2pr_setup(char *str) | |
< { | |
< u32 value; | |
< if (kstrtoul(str, 16, &value)) { | |
< printk("Failed to convert value=%s\n", str); | |
< return 1; | |
< } | |
< intel_xusb2pr = value; | |
< return 1; | |
< } | |
< __setup("USB_INTEL_XUSB2PR=", intel_xusb2pr_setup); | |
< | |
836,844c822,824 | |
< if (intel_xusb2pr == 0xFFFFFFFF) { | |
< pci_write_config_dword(xhci_pdev, USB_INTEL_XUSB2PR, | |
< cpu_to_le32(ports_available)); | |
< printk("USB3: set value = 0x%08X\n", ports_available); | |
< } else { | |
< pci_write_config_dword(xhci_pdev, USB_INTEL_XUSB2PR, | |
< intel_xusb2pr); | |
< printk("USB3: set value = 0x%08X\n", intel_xusb2pr); | |
< } | |
--- | |
> pci_write_config_dword(xhci_pdev, USB_INTEL_XUSB2PR, | |
> cpu_to_le32(ports_available)); | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment