]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: initialize the Tx FIFO size
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 30 Oct 2017 10:23:29 +0000 (11:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 03:28:33 +0000 (12:28 +0900)
commitfc3f822da5331cb937ed903ed69b9b214196ab7c
treeba5acfe6a6fdb860811b227e691b8a8b2162493c
parent6e079aaf030aa7445592e3ffeab9f412f9ff8ef0
net: mvpp2: initialize the Tx FIFO size

So far only the Rx FIFO size was initialized. For PPv2.2 the Tx FIFO
size can be set as well. This patch initializes the Tx FIFO size for
PPv2.2 controllers to 3K.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c