Question about EP fifo mode in musb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

In musb_core.c file, there is a table which defines the fifo mode values
for different EP configurations etc.. like 

/* mode 5 - fits in 8KB */
static struct fifo_cfg __initdata mode_5_cfg[] = {
{ .hw_ep_num =  1, .style = FIFO_TX,   .maxpacket = 512, },
{ .hw_ep_num =  1, .style = FIFO_RX,   .maxpacket = 512, },
.....

Currently for our configuration, none of these modes are matching.
So, should we define a new mode as mentioned in the comments?

If everyone keeps on defining modes like this, we may end up in a big
List of mode array.

So, any thought's / suggestion to optimize it? Or should we go ahead in 
defining a new mode as per our requirement?


Regard,
-Praveena Nadahally


--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux