net: stmmac: add fix_mac_speed support for socfpga
authorLey Foon Tan <lftan@altera.com>
Wed, 20 Aug 2014 06:33:33 +0000 (14:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Aug 2014 19:33:48 +0000 (12:33 -0700)
commitb4834c86e11bafc2bf7d3af6a6a5d9ea48b54b41
treebc0c1a85f50ffa30ec39c80e8add7d162c91a82f
parent6e1d0b8988188956dac091441c1492a79a342666
net: stmmac: add fix_mac_speed support for socfpga

This patch adds fix_mac_speed() support for
Altera socfpga Ethernet controller. Emac splitter is a
soft IP core in FPGA system that converts GMII interface from
Synopsys mac to RGMII/SGMII interface. This splitter core is
an optional IP if user would like to use RGMII/SGMII
interface in their system. Software needs to update a register
in splitter core when there is speed change.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/socfpga-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c