diff options
author | MarkLee <Mark-MC.Lee@mediatek.com> | 2019-10-14 09:15:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-16 03:03:35 +0200 |
commit | 4e3eff5beafa5c97cdf2af2181f46479941a7f45 (patch) | |
tree | 6e15b6bfa32ca9aff118d9b9a04e927911dbe2c8 /security/integrity/ima/ima_kexec.c | |
parent | Merge branch 'mpls-push-pop-fix' (diff) | |
download | linux-4e3eff5beafa5c97cdf2af2181f46479941a7f45.tar.xz linux-4e3eff5beafa5c97cdf2af2181f46479941a7f45.zip |
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: b8fc9f30821e ("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>
Diffstat (limited to 'security/integrity/ima/ima_kexec.c')
0 files changed, 0 insertions, 0 deletions