aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-pci.c
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2010-11-17 10:43:09 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-17 16:37:00 -0500
commit4f6838436915fdc281173bfd5bef6d8ab5cb1a7f (patch)
tree700c29096750794329d8ad86c459796648cbabaa /drivers/usb/host/ehci-pci.c
parent2f15744c1d90ee2e82f8ae5724b44b1cdf31715c (diff)
USB: ce4100: Add support for CE4100 EHCI IP block to EHCI driver
This patch adds support for the EHCI IP block present on the Intel CE4100. Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com> CC: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
-rw-r--r--drivers/usb/host/ehci-pci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index a1e8d273103f..56c78e93440f 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -22,6 +22,9 @@
22#error "This file is PCI bus glue. CONFIG_PCI must be defined." 22#error "This file is PCI bus glue. CONFIG_PCI must be defined."
23#endif 23#endif
24 24
25/* defined here to avoid adding to pci_ids.h for single instance use */
26#define PCI_DEVICE_ID_INTEL_CE4100_USB 0x2e70
27
25/*-------------------------------------------------------------------------*/ 28/*-------------------------------------------------------------------------*/
26 29
27/* called after powerup, by probe or system-pm "wakeup" */ 30/* called after powerup, by probe or system-pm "wakeup" */
@@ -124,6 +127,10 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
124 ehci_info(ehci, "disable lpm for langwell/penwell\n"); 127 ehci_info(ehci, "disable lpm for langwell/penwell\n");
125 ehci->has_lpm = 0; 128 ehci->has_lpm = 0;
126 } 129 }
130 if (pdev->device == PCI_DEVICE_ID_INTEL_CE4100_USB) {
131 hcd->has_tt = 1;
132 tdi_reset(ehci);
133 }
127 break; 134 break;
128 case PCI_VENDOR_ID_TDI: 135 case PCI_VENDOR_ID_TDI:
129 if (pdev->device == PCI_DEVICE_ID_TDI_EHCI) { 136 if (pdev->device == PCI_DEVICE_ID_TDI_EHCI) {