net: ethernet: mediatek: add support for GMAC0 connecting with external PHY through...
authorSean Wang <sean.wang@mediatek.com>
Thu, 22 Sep 2016 02:33:55 +0000 (10:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 12:21:21 +0000 (08:21 -0400)
commitf430dea7c150dab2c103d28fa32efb59b5ae80b4
tree0c936f92d17ba70706a82cd18b0901e407a62486
parent572de608e36279f249c9a6350f142e69f23dacab
net: ethernet: mediatek: add support for GMAC0 connecting with external PHY through TRGMII

Changing dynamically source clock, TX/RX delay and interface mode
used by TRGMII hardware module inside PHY capability polling routine
for adapting to the various speed of RGMII used by external PHY for
GMAC0.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h