net: ethernet: mediatek: move mt7623 settings out off the mt7530
authorRené van Dorst <opensource@vdorst.com>
Sun, 5 Apr 2020 21:42:54 +0000 (05:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Apr 2020 07:04:48 +0000 (09:04 +0200)
commit1ff0732cf8055131050fa0c26c49429d6e725505
treef9071ff91a62bfcbe9176682f965950356a14b03
parentf749a8bfdd38cfbfd6f3099ed00e4cc442ca341e
net: ethernet: mediatek: move mt7623 settings out off the mt7530

[ Upstream commit a5d75538295b06bc6ade1b9da07b9bee57d1c677 ]

Moving mt7623 logic out off mt7530, is required to make hardware setting
consistent after we introduce phylink to mtk driver.

Fixes: b8fc9f30821e ("net: ethernet: mediatek: Add basic PHYLINK support")
Reviewed-by: Sean Wang <sean.wang@mediatek.com>
Tested-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: René van Dorst <opensource@vdorst.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h