summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/Makefile
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-04-03 02:19:13 +0100
committerDavid S. Miller <davem@davemloft.net>2023-04-03 10:13:00 +0100
commitcb675afcddbbeb2bfa6596e3bc236bc026cd425f (patch)
tree9e035ffb1383de849814879c02860f6f858ba2bd /drivers/net/dsa/Makefile
parent7f54cc9772ced2d76ac11832f0ada43798443ac9 (diff)
downloadlinux-cb675afcddbbeb2bfa6596e3bc236bc026cd425f.tar.gz
linux-cb675afcddbbeb2bfa6596e3bc236bc026cd425f.tar.bz2
linux-cb675afcddbbeb2bfa6596e3bc236bc026cd425f.zip
net: dsa: mt7530: introduce separate MDIO driver
Split MT7530 switch driver into a common part and a part specific for MDIO connected switches and multi-chip modules. Move MDIO-specific functions to newly introduced mt7530-mdio.c while keeping the common parts in mt7530.c. Introduce new Kconfig symbol CONFIG_NET_DSA_MT7530_MDIO which is implied by CONFIG_NET_DSA_MT7530. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/Makefile')
-rw-r--r--drivers/net/dsa/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/Makefile b/drivers/net/dsa/Makefile
index 16eb879e0cb4..c5da75cb0a6b 100644
--- a/drivers/net/dsa/Makefile
+++ b/drivers/net/dsa/Makefile
@@ -7,6 +7,7 @@ obj-$(CONFIG_FIXED_PHY) += dsa_loop_bdinfo.o
endif
obj-$(CONFIG_NET_DSA_LANTIQ_GSWIP) += lantiq_gswip.o
obj-$(CONFIG_NET_DSA_MT7530) += mt7530.o
+obj-$(CONFIG_NET_DSA_MT7530_MDIO) += mt7530-mdio.o
obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
obj-$(CONFIG_NET_DSA_RZN1_A5PSW) += rzn1_a5psw.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303) += lan9303-core.o