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

[ Upstream commit 84d2f7b708c374a15a2abe092a74e0e47d018286 ]

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

Fixes: ca366d6c889b ("net: dsa: mt7530: Convert to PHYLINK API")
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>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h