--- zzzz-none-000/linux-2.6.28.10/drivers/usb/musb/musb_host.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/drivers/usb/musb/musb_host.h 2010-03-30 18:41:51.000000000 +0000 @@ -35,6 +35,13 @@ #ifndef _MUSB_HOST_H #define _MUSB_HOST_H +#ifdef CONFIG_MUSB_RESERVE_ISO_EP +#define RESERVE_EP 2 +#endif +#ifdef CONFIG_MUSB_SCHEDULE_INTR_EP +#define RESERVE_EP 4 +#endif + static inline struct usb_hcd *musb_to_hcd(struct musb *musb) { return container_of((void *) musb, struct usb_hcd, hcd_priv); @@ -53,7 +60,7 @@ struct list_head ring; /* of musb_qh */ /* struct musb_qh *next; */ /* for periodic tree */ - u8 mux; /* qh multiplexed to hw_ep */ + u8 mux; /* qh multiplexed to hw_ep */ unsigned offset; /* in urb->transfer_buffer */ unsigned segsize; /* current xfer fragment */ @@ -79,7 +86,10 @@ return NULL; return list_entry(q->next, struct musb_qh, ring); } +extern void musb_h_fifo_check_complete(struct musb_hw_ep *ep); +extern int is_intr_sched(void); +extern void musb_host_intr_schedule(struct musb *musb); extern void musb_root_disconnect(struct musb *musb);