diff options
author | Vladimir Barinov <vbarinov@ru.mvista.com> | 2007-12-31 00:21:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 23:35:02 +0100 |
commit | 91bc4d31e81b15aa6e2d075307b8727041f2e2d1 (patch) | |
tree | 4c7f706fd749aae4cdf3424c664c6a5420fe6cc3 /drivers/usb/host/ehci.h | |
parent | USB: misc: legousbtower: semaphore to mutex (diff) | |
download | linux-91bc4d31e81b15aa6e2d075307b8727041f2e2d1.tar.xz linux-91bc4d31e81b15aa6e2d075307b8727041f2e2d1.zip |
USB: add ehci-ixp bus glue
EHCI Glue driver for Intel IXP4XX EHCI USB controller
Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to '')
-rw-r--r-- | drivers/usb/host/ehci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index c78c52771e64..f83472856a80 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -746,6 +746,11 @@ ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) #define writel_be(val, addr) out_be32((__force unsigned *)addr, val) #endif +#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_IXP4XX) +#define readl_be(addr) __raw_readl((__force unsigned *)addr) +#define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr) +#endif + static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, __u32 __iomem * regs) { |