OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 11... Line 11...
11 drivers/usb/host/pci-quirks.c | 362 ++++++++++++++++++++++++++++++++++++++++++ 11 drivers/usb/host/pci-quirks.c | 362 ++++++++++++++++++++++++++++++++++++++++++
12 1 file changed, 362 insertions(+) 12 1 file changed, 362 insertions(+)
Line 13... Line 13...
13   13  
14 --- a/drivers/usb/host/xhci-pci.c 14 --- a/drivers/usb/host/xhci-pci.c
15 +++ b/drivers/usb/host/xhci-pci.c 15 +++ b/drivers/usb/host/xhci-pci.c
16 @@ -219,7 +219,7 @@ static void xhci_pci_quirks(struct devic 16 @@ -213,7 +213,7 @@ static void xhci_pci_quirks(struct devic
17 xhci->quirks |= XHCI_TRUST_TX_LENGTH; 17 xhci->quirks |= XHCI_TRUST_TX_LENGTH;
18 if (pdev->vendor == PCI_VENDOR_ID_RENESAS && 18 if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
19 pdev->device == 0x0015) 19 pdev->device == 0x0015)
20 - xhci->quirks |= XHCI_RESET_ON_RESUME; 20 - xhci->quirks |= XHCI_RESET_ON_RESUME;
21 + xhci->quirks |= XHCI_RESET_ON_RESUME | XHCI_FORCE_MSI; 21 + xhci->quirks |= XHCI_RESET_ON_RESUME | XHCI_FORCE_MSI;
22 if (pdev->vendor == PCI_VENDOR_ID_VIA) 22 if (pdev->vendor == PCI_VENDOR_ID_VIA)
Line 23... Line 23...
23 xhci->quirks |= XHCI_RESET_ON_RESUME; 23 xhci->quirks |= XHCI_RESET_ON_RESUME;
24 24
25 --- a/drivers/usb/host/xhci.c 25 --- a/drivers/usb/host/xhci.c
26 +++ b/drivers/usb/host/xhci.c 26 +++ b/drivers/usb/host/xhci.c
27 @@ -372,10 +372,14 @@ static int xhci_try_enable_msi(struct us 27 @@ -357,10 +357,14 @@ static int xhci_try_enable_msi(struct us
Line 28... Line 28...
28 free_irq(hcd->irq, hcd); 28 free_irq(hcd->irq, hcd);
29 hcd->irq = 0; 29 hcd->irq = 0;
Line 42... Line 42...
42 42
43 if (!ret) { 43 if (!ret) {
44 hcd->msi_enabled = 1; 44 hcd->msi_enabled = 1;
45 --- a/drivers/usb/host/xhci.h 45 --- a/drivers/usb/host/xhci.h
46 +++ b/drivers/usb/host/xhci.h 46 +++ b/drivers/usb/host/xhci.h
47 @@ -1858,6 +1858,7 @@ struct xhci_hcd { 47 @@ -1854,6 +1854,7 @@ struct xhci_hcd {
48 /* support xHCI 0.96 spec USB2 software LPM */ 48 /* support xHCI 0.96 spec USB2 software LPM */
49 unsigned sw_lpm_support:1; 49 unsigned sw_lpm_support:1;
50 /* support xHCI 1.0 spec USB2 hardware LPM */ 50 /* support xHCI 1.0 spec USB2 hardware LPM */
51 +#define XHCI_FORCE_MSI (1 << 24) 51 +#define XHCI_FORCE_MSI (1 << 24)
52 unsigned hw_lpm_support:1; 52 unsigned hw_lpm_support:1;
53 /* Broken Suspend flag for SNPS Suspend resume issue */ 53 /* cached usb2 extened protocol capabilites */