diff options
author | Kelvin Cheung <keguang.zhang@gmail.com> | 2012-01-18 01:41:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 18:28:02 -0500 |
commit | f30cdbcb2e6a7b9cdebe2117a7b623a5b3832a75 (patch) | |
tree | 2d19d0f8bc4be83cfb7e8b4af20c4465b5854e3e /drivers/usb/host/ehci-hcd.c | |
parent | 761bbcb74e4611414937ea480ba60bb970648755 (diff) |
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.c | 5 |
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"); | |||
1376 | #define PLATFORM_DRIVER ehci_mv_driver | 1376 | #define PLATFORM_DRIVER ehci_mv_driver |
1377 | #endif | 1377 | #endif |
1378 | 1378 | ||
1379 | #ifdef CONFIG_MACH_LOONGSON1 | ||
1380 | #include "ehci-ls1x.c" | ||
1381 | #define PLATFORM_DRIVER ehci_ls1x_driver | ||
1382 | #endif | ||
1383 | |||
1379 | #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ | 1384 | #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ |
1380 | !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \ | 1385 | !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \ |
1381 | !defined(XILINX_OF_PLATFORM_DRIVER) | 1386 | !defined(XILINX_OF_PLATFORM_DRIVER) |