2010-06-23 13:29:44 +00:00
|
|
|
#ifndef __USB_EHCI_H
|
|
|
|
#define __USB_EHCI_H
|
|
|
|
|
|
|
|
#define EHCI_HAS_TT (1 << 0)
|
|
|
|
|
|
|
|
struct ehci_platform_data {
|
|
|
|
unsigned long flags;
|
|
|
|
};
|
|
|
|
|
2012-11-27 22:34:25 +00:00
|
|
|
struct ehci_data {
|
|
|
|
void __iomem *hccr;
|
|
|
|
void __iomem *hcor;
|
|
|
|
unsigned long flags;
|
2013-01-31 14:13:40 +00:00
|
|
|
|
|
|
|
/* platform specific init functions */
|
|
|
|
int (*init)(void *drvdata);
|
|
|
|
int (*post_init)(void *drvdata);
|
|
|
|
void *drvdata;
|
2012-11-27 22:34:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef CONFIG_USB_EHCI
|
|
|
|
int ehci_register(struct device_d *dev, struct ehci_data *data);
|
|
|
|
#else
|
|
|
|
static inline int ehci_register(struct device_d *dev, struct ehci_data *data)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-06-23 13:29:44 +00:00
|
|
|
#endif /* __USB_EHCI_H */
|