]> 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)
commitd66dbd99e76f5b8315bb59c12ace5a430b27cdcc
treeba5acfe6a6fdb860811b227e691b8a8b2162493c
parentef372b62232e7c9e98f364458ee46023677e3a1b
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