.
Signed-off-by: Chee Nouk Phoon
Signed-off-by: Vince Bridgers a
Cc: Andreas Oetken
---
drivers/net/ethernet/altera/altera_msgdmahw.h | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/altera/altera_msgdmahw.h
b/drivers/net/ethernet/altera/altera_msgdmahw.h
Add defines and documentation for enabling flow control on the stmmac. Flow
control was not implemented correctly on the stmmac driver and is currently
non-functional as a result. This is the first in a series of small patches
to correctly implement this feature.
Signed-off-by: Vince Bridgers
The Synopsys stmmac fifo sizes are configurable, and need to be known
in order to configure certain controller features. This patch adds
tx-fifo-depth and rx-fifo-depth properties to the stmmac document
file.
Signed-off-by: Vince Bridgers
---
Documentation/devicetree/bindings/net/ethernet.txt
either the reserved multicast address or the unique physical address
associated with this station.
Signed-off-by: Vince Bridgers
---
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac
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
---
drivers/net/ethernet/stmicro
found in the
devicetree.
Signed-off-by: Vince Bridgers
---
drivers/net/ethernet/stmicro/stmmac/common.h | 5 +++--
.../net/ethernet/stmicro/stmmac/dwmac1000_dma.c| 26 +-
drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 2 +-
drivers/net/ethernet/stmicro/s
control operates as expected when enabled.
Please consider this series for inclusion so that flow control will
function as expected for the Synopsys GMAC controller.
Vince Bridgers (5):
stmmac: Add properties for transmit and receive fifo sizes
stmmac: Add defines and documentation for enabling