]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: socfgpa: Ensure emac bit set in sys manager for MII/GMII/SGMII.
authorStephan Gatzka <stephan.gatzka@gmail.com>
Tue, 22 Aug 2017 12:25:07 +0000 (14:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:26:58 +0000 (20:26 -0700)
commitfee5f75d43af1d23da8b4e5eae5044bd83918962
tree72be30944ded6c80347ac4421b7faf870814bdbd
parent1121119b91031571bf029f6e6e6f6d9fd86cf017
net: stmmac: socfgpa: Ensure emac bit set in sys manager for MII/GMII/SGMII.

When using MII/GMII/SGMII in the Altera SoC, the phy needs to be
wired through the FPGA. To ensure correct behavior, the appropriate
bit in the System Manager FPGA Interface Group register needs to be
set.

Signed-off-by: Stephan Gatzka <stephan.gatzka@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c