]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: modified pcs mode support for RGMII
authorDejin Zheng <zhengdejin5@gmail.com>
Wed, 15 Jan 2020 15:53:23 +0000 (23:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2020 08:43:18 +0000 (09:43 +0100)
commit1fbdb23ecf2e734e729601ad438185344cfd46be
tree9a09ffdce5c680e8962f3133b73e9a1d560a28ab
parentaf630f08ba4a3cd0e0f87c28620a022e404cd808
net: stmmac: modified pcs mode support for RGMII

snps databook noted that physical coding sublayer (PCS) interface
that can be used when the MAC is configured for the TBI, RTBI, or
SGMII PHY interface. we have RGMII and SGMII in a SoC and it also
has the PCS block. it needs stmmac_init_phy and stmmac_mdio_register
function for initializing phy when it used RGMII interface.

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c