]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7edcb2e75cfc57e3f14772df2d2e576db0fd185
treebc0c1a85f50ffa30ec39c80e8add7d162c91a82f
parent5ee333af43cbc045834d02f2b48797e985c62fc7
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