}
}
DBG(2, "initialized %d (max %d) endpoints\n", count,
- pThis->bEndCount * 2 - 1);
+ MUSB_C_NUM_EPS * 2 - 1);
}
/* called once during driver setup to initialize and link into
musb->bEndCount = max(epn, musb->bEndCount);
}
+ printk(KERN_DEBUG "%s: %d/%d max ep, %d/%d memory\n",
+ musb_driver_name,
+ musb->bEndCount, MUSB_C_NUM_EPS * 2 - 1,
+ offset, DYN_FIFO_SIZE);
+
#ifdef CONFIG_USB_MUSB_HDRC_HCD
if (!musb->bulk_ep) {
pr_debug( "%s: missing bulk\n", musb_driver_name);
prefetch(bufp);
- DBG(3, "%cX ep%d count %d bufp %p\n", 'T', epnum, len, bufp);
+ DBG(4, "%cX ep%d fifo %p count %d buf %p\n",
+ 'T', epnum, fifo, len, bufp);
if (epnum)
musb_writel(ep_conf, TUSB_EP_TX_OFFSET,
int i, remain;
u32 val;
- DBG(3, "%cX ep%d count %d buf %p\n", 'R', epnum, len, bufp);
+ DBG(4, "%cX ep%d fifo %p count %d buf %p\n",
+ 'R', epnum, fifo, len, bufp);
if (epnum)
musb_writel(ep_conf, TUSB_EP_RX_OFFSET,
/* configuration parameters specific to this silicon */
/* Number of Tx endpoints. Legal values are 1 - 16 (this value includes EP0) */
-#define MUSB_C_NUM_EPT 5
+#define MUSB_C_NUM_EPT 16
/* Number of Rx endpoints. Legal values are 1 - 16 (this value includes EP0) */
-#define MUSB_C_NUM_EPR 5
+#define MUSB_C_NUM_EPR 16
/* Endpoint 1 to 15 direction types. C_EP1_DEF is defined if either Tx endpoint
* 1 or Rx endpoint 1 are used.
* addresses). It is defined as log2 of the sum of 2** of all the endpoint FIFO
* dword address bits (rounded up).
*/
-#define MUSB_C_RAM_BITS 10
+#define MUSB_C_RAM_BITS 12
#endif /* CONFIG_USB_TUSB6010 */