aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorVladimir Barinov <vbarinov@ru.mvista.com>2007-12-30 18:21:11 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:35:02 -0500
commit91bc4d31e81b15aa6e2d075307b8727041f2e2d1 (patch)
tree4c7f706fd749aae4cdf3424c664c6a5420fe6cc3 /drivers/usb/host/ehci.h
parent18bcbcfe9ca2308ebffb40068b51803da9315d97 (diff)
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 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)
746#define writel_be(val, addr) out_be32((__force unsigned *)addr, val) 746#define writel_be(val, addr) out_be32((__force unsigned *)addr, val)
747#endif 747#endif
748 748
749#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_IXP4XX)
750#define readl_be(addr) __raw_readl((__force unsigned *)addr)
751#define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr)
752#endif
753
749static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, 754static inline unsigned int ehci_readl(const struct ehci_hcd *ehci,
750 __u32 __iomem * regs) 755 __u32 __iomem * regs)
751{ 756{