]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4bb8626760e359704c93fc62c2ee595ab2d38b70
treec9214e2966dceed931f27158310006070441ef8f
parent9094352c0cf44d1ad194baa454e2b9e0915f2dff
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