diff options
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 6aa5f22e527..03d50909b07 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h | |||
@@ -322,6 +322,14 @@ struct musb { | |||
322 | struct clk *clock; | 322 | struct clk *clock; |
323 | irqreturn_t (*isr)(int, void *); | 323 | irqreturn_t (*isr)(int, void *); |
324 | struct work_struct irq_work; | 324 | struct work_struct irq_work; |
325 | #define MUSB_HWVERS_MAJOR(x) ((x >> 10) & 0x1f) | ||
326 | #define MUSB_HWVERS_MINOR(x) (x & 0x3ff) | ||
327 | #define MUSB_HWVERS_RC 0x8000 | ||
328 | #define MUSB_HWVERS_1300 0x52C | ||
329 | #define MUSB_HWVERS_1400 0x590 | ||
330 | #define MUSB_HWVERS_1800 0x720 | ||
331 | #define MUSB_HWVERS_2000 0x800 | ||
332 | u16 hwvers; | ||
325 | 333 | ||
326 | /* this hub status bit is reserved by USB 2.0 and not seen by usbcore */ | 334 | /* this hub status bit is reserved by USB 2.0 and not seen by usbcore */ |
327 | #define MUSB_PORT_STAT_RESUME (1 << 31) | 335 | #define MUSB_PORT_STAT_RESUME (1 << 31) |