aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorVladimir Barinov <vbarinov@ru.mvista.com>2007-12-30 15:21:11 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 14:35:02 -0800
commit91bc4d31e81b15aa6e2d075307b8727041f2e2d1 (patch)
tree4c7f706fd749aae4cdf3424c664c6a5420fe6cc3 /drivers/usb/host/ehci.h
parent18bcbcfe9ca2308ebffb40068b51803da9315d97 (diff)
downloadmrst-s0i3-test-91bc4d31e81b15aa6e2d075307b8727041f2e2d1.tar.gz
mrst-s0i3-test-91bc4d31e81b15aa6e2d075307b8727041f2e2d1.tar.xz
mrst-s0i3-test-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 'drivers/usb/host/ehci.h')
-rw-r--r--drivers/usb/host/ehci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index c78c52771e6..f83472856a8 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)
{