summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2012-01-18 14:41:16 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 15:28:02 -0800
commitf30cdbcb2e6a7b9cdebe2117a7b623a5b3832a75 (patch)
tree2d19d0f8bc4be83cfb7e8b4af20c4465b5854e3e /drivers/usb/host/ehci-hcd.c
parent761bbcb74e4611414937ea480ba60bb970648755 (diff)
downloadblackbird-op-linux-f30cdbcb2e6a7b9cdebe2117a7b623a5b3832a75.tar.gz
blackbird-op-linux-f30cdbcb2e6a7b9cdebe2117a7b623a5b3832a75.zip
USB: Add EHCI bus glue for Loongson1x SoCs (UPDATED)
Use ehci_setup() in ehci_ls1x_reset(). The Loongson1x SoCs have a built-in EHCI controller. This patch adds the necessary glue code to make the generic EHCI driver usable for them. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index a007a9fe0f87..4918b0c59af9 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1376,6 +1376,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ehci_mv_driver
#endif
+#ifdef CONFIG_MACH_LOONGSON1
+#include "ehci-ls1x.c"
+#define PLATFORM_DRIVER ehci_ls1x_driver
+#endif
+
#if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
!defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \
!defined(XILINX_OF_PLATFORM_DRIVER)
OpenPOWER on IntegriCloud