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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2020 01:28:28 +0000 (18:28 -0700)
commit0021976a3ef4366121a627d04fdadb9a4ec7a68b
treefd32491230eff5baebaa60e5ff7517fa3221f81b
parent99d0bb083adff3668e8483365ae94cd50549dfce
net: dsa: mt7530: move mt7623 settings out off the mt7530

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

Fixes: 6ae43c9d6729 ("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>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h