--- zzzz-none-000/linux-2.6.39.4/drivers/usb/musb/musb_core.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/usb/musb/musb_core.h 2021-11-10 13:38:17.000000000 +0000 @@ -172,6 +172,14 @@ #define MUSB_C_NUM_EPS ((u8)16) #endif +/* ** Number of Tx endpoints ** */ +/* Legal values are 1 - 16 (this value includes EP0) */ +#define MUSB_C_NUM_EPT 5 + +/* ** Number of Rx endpoints ** */ +/* Legal values are 1 - 16 (this value includes EP0) */ +#define MUSB_C_NUM_EPR 5 + #ifndef MUSB_MAX_END0_PACKET #define MUSB_MAX_END0_PACKET ((u16)MUSB_EP0_FIFOSIZE) #endif @@ -297,6 +305,7 @@ /* index in musb->endpoints[] */ u8 epnum; + u8 dma_mode; /* hardware configuration, possibly dynamic */ bool is_shared_fifo; @@ -516,6 +525,9 @@ #ifdef MUSB_CONFIG_PROC_FS struct proc_dir_entry *proc_entry; #endif +#ifdef CONFIG_PM + unsigned power_status; +#endif }; #ifdef CONFIG_USB_GADGET_MUSB_HDRC