]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Add support for DWMAC5 and implement Safety Features
authorJose Abreu <Jose.Abreu@synopsys.com>
Thu, 29 Mar 2018 09:40:19 +0000 (10:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Mar 2018 16:32:00 +0000 (12:32 -0400)
commit2acc9961f25fb0b5173c559dec04dd9fa0f2b820
treea4a5452905bc802e15bb730470bc2b0cfb0b5dab
parente1cdfb5c6fa2c7704549ece1fcbefc5472bb8052
net: stmmac: Add support for DWMAC5 and implement Safety Features

This adds initial suport for DWMAC5 and implements the Automotive Safety
Package which is available from core version 5.10.

The Automotive Safety Pacakge (also called Safety Features) offers us
with error protection in the core by implementing ECC Protection in
memories, on-chip data path parity protection, FSM parity and timeout
protection and Application/CSR interface timeout protection.

In case of an uncorrectable error we call stmmac_global_err() and
reconfigure the whole core.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwmac4.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c
drivers/net/ethernet/stmicro/stmmac/dwmac5.c [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/dwmac5.h [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c