Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276329
b: refs/heads/master
c: df711fc
h: refs/heads/master
i:
  276327: fbaa527
v: v3
  • Loading branch information
Andiry Xu authored and Sarah Sharp committed Nov 28, 2011
1 parent e545087 commit ba59d28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8746c83d538cab273d335acb2be226d096f4a5af
refs/heads/master: df711fc9962b9491af2b92bd0d21ecbfefe4e5fa
7 changes: 6 additions & 1 deletion trunk/drivers/usb/host/xhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#define PCI_VENDOR_ID_ETRON 0x1b6f
#define PCI_DEVICE_ID_ASROCK_P67 0x7023

#define PCI_DEVICE_ID_NEC_uPD720200 0x0194

static const char hcd_name[] = "xhci_hcd";

/* called after powerup, by probe or system-pm "wakeup" */
Expand Down Expand Up @@ -74,8 +76,11 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
pdev->revision);
}

if (pdev->vendor == PCI_VENDOR_ID_NEC)
if (pdev->vendor == PCI_VENDOR_ID_NEC) {
xhci->quirks |= XHCI_NEC_HOST;
if (pdev->device == PCI_DEVICE_ID_NEC_uPD720200)
xhci->quirks |= XHCI_RESET_ON_RESUME;
}

if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96)
xhci->quirks |= XHCI_AMD_0x96_HOST;
Expand Down

0 comments on commit ba59d28

Please sign in to comment.