Re: [PATCH] usb: Prevent dead ports when xhci is not enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 23, 2013 at 10:19:49PM -0800, David Moore wrote:
> From: David Moore <david.moore@xxxxxxxxx>
> 
> When the xHCI driver is not available, actively switch the ports to EHCI
> mode since some BIOSes leave them in xHCI mode where they would
> otherwise appear dead.
> 
> Signed-off-by: David Moore <david.moore@xxxxxxxxx>
> ---
>  drivers/usb/host/pci-quirks.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
> index eb5563a..7893351 100644
> --- a/drivers/usb/host/pci-quirks.c
> +++ b/drivers/usb/host/pci-quirks.c
> @@ -780,6 +780,7 @@ void usb_enable_xhci_ports(struct pci_dev *xhci_pdev)
>  				"defaulting to EHCI.\n");
>  		dev_warn(&xhci_pdev->dev,
>  				"USB 3.0 devices will work at USB 2.0 speeds.\n");
> +		usb_disable_xhci_ports(xhci_pdev);

Any specifics as to exactly what hardware types need this patch?

I'm guessing this should also go to the stable kernel releases as well?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux