On 17/08/12 13:39, Sebastian Andrzej Siewior wrote: >> .lep = 0, >> .eptype = EP_CTL_TYPE, >> }, >> .ep[1] = { >> .ep = { >> .name = "ep1-int", >> .ops =&lpc32xx_ep_ops, >> }, >> .udc =&controller, >> .maxpacket = 64, >> .hwep_num_base = 2, >> .hwep_num = 0, /* 2 or 3, will be set later */ > > Why not now? It's assigned dynamically at runtime, depending on RX or TX. >> .lep = 1, >> .eptype = EP_INT_TYPE, > > Do you have any restrictions on these endpoints? I mean can you pick > any endpoints for BULK/INT/ISO or have they been pre-defined by HW? The latter, see LPC32xx user manual, 14.1.2. Roland -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html