stmmac: Read tx-fifo-depth and rx-fifo-depth from the devicetree
authorVince Bridgers <vbridger@opensource.altera.com>
Wed, 15 Apr 2015 16:17:40 +0000 (11:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2015 17:58:42 +0000 (13:58 -0400)
commite7877f52fd4a8d7012f9b0faecc047a50c132a79
treed6d8539ea9959708782e568ad89429258f71656e
parent2453beb632e3e8c194c87953a536a4c58b149867
stmmac: Read tx-fifo-depth and rx-fifo-depth from the devicetree

Read the tx-fifo-depth and rx-fifo-depth from the devicetree. The Synopsys
stmmac controller fifos are configurable per product instance, and the fifo
sizes are needed to configure certain features correctly such as flow control.

Signed-off-by: Vince Bridgers <vbridger@opensource.altera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h