diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2009-07-27 17:47:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:30 -0400 |
commit | 501c9c0802d9fee05efb300de06c8b3d04f17458 (patch) | |
tree | 2e4af8a74eb68defe90e359aaea1813aaae27c34 /drivers/usb/host/ehci-hcd.c | |
parent | c0ad7291aae3f76920bdddbc517e20b8d4338ec2 (diff) |
USB: at91: Add USB EHCI driver for at91sam9g45 series
Add host USB High speed driver for at91sam9g45 series.
The host driver is an EHCI with its companion OHCI. EHCI is
handled by the new ehci-atmel.c whereas the OHCI is always
handled by ohci-at91.c.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
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 5fbc67c5a913..c227ba46d6f3 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -1136,6 +1136,11 @@ MODULE_LICENSE ("GPL"); | |||
1136 | #define PLATFORM_DRIVER ehci_hcd_w90x900_driver | 1136 | #define PLATFORM_DRIVER ehci_hcd_w90x900_driver |
1137 | #endif | 1137 | #endif |
1138 | 1138 | ||
1139 | #ifdef CONFIG_ARCH_AT91 | ||
1140 | #include "ehci-atmel.c" | ||
1141 | #define PLATFORM_DRIVER ehci_atmel_driver | ||
1142 | #endif | ||
1143 | |||
1139 | #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ | 1144 | #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ |
1140 | !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) | 1145 | !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) |
1141 | #error "missing bus glue for ehci-hcd" | 1146 | #error "missing bus glue for ehci-hcd" |