net: ethernet: mediatek: Integrate hardware path from GMAC to PHY variants
authorSean Wang <sean.wang@mediatek.com>
Sat, 1 Jun 2019 00:03:13 +0000 (08:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:00:00 +0000 (15:00 -0700)
commit7093f9d80c7cb82f47628d6477fd4dc252d21a10
treec9214e2966dceed931f27158310006070441ef8f
parent9ffee4a8276c734956b8eab19d1c9b0ecb6b79c5
net: ethernet: mediatek: Integrate hardware path from GMAC to PHY variants

All path route on various SoCs all would be managed in common function
mtk_setup_hw_path that is determined by the both applied devicetree
regarding the path between GMAC and the target PHY or switch by the
capability of target SoC in the runtime.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/Makefile
drivers/net/ethernet/mediatek/mtk_eth_path.c [new file with mode: 0644]
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h