OpenCloudOS-Kernel/drivers/net/ethernet/mediatek
MarkLee 4e3eff5bea net: ethernet: mediatek: Fix MT7629 missing GMII mode support
In the original design, mtk_phy_connect function will set ge_mode=1
if phy-mode is GMII(PHY_INTERFACE_MODE_GMII) and then set the correct
ge_mode to ETHSYS_SYSCFG0 register. This logic was broken after apply
mediatek PHYLINK patch(Fixes tag), the new mtk_mac_config function will
not set ge_mode=1 for GMII mode hence the final ETHSYS_SYSCFG0 setting
will be incorrect for mt7629 GMII mode. This patch add the missing logic
back to fix it.

Fixes: b8fc9f3082 ("net: ethernet: mediatek: Add basic PHYLINK support")
Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-15 18:03:35 -07:00
..
Kconfig net: ethernet: mediatek: Add basic PHYLINK support 2019-08-27 20:19:27 -07:00
Makefile net: ethernet: mediatek: fix mtk_eth_soc build errors & warnings 2019-06-05 11:35:16 -07:00
mtk_eth_path.c net: ethernet: mediatek: Re-add support SGMII 2019-08-27 20:19:27 -07:00
mtk_eth_soc.c net: ethernet: mediatek: Fix MT7629 missing GMII mode support 2019-10-15 18:03:35 -07:00
mtk_eth_soc.h net: ethernet: mediatek: Re-add support SGMII 2019-08-27 20:19:27 -07:00
mtk_sgmii.c net: ethernet: mediatek: Re-add support SGMII 2019-08-27 20:19:27 -07:00