]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: mt7530: introduce separate MDIO driver
authorDaniel Golle <daniel@makrotopia.org>
Mon, 3 Apr 2023 01:19:13 +0000 (02:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2023 09:13:00 +0000 (10:13 +0100)
commitcb675afcddbbeb2bfa6596e3bc236bc026cd425f
tree9e035ffb1383de849814879c02860f6f858ba2bd
parent7f54cc9772ced2d76ac11832f0ada43798443ac9
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>
MAINTAINERS
drivers/net/dsa/Kconfig
drivers/net/dsa/Makefile
drivers/net/dsa/mt7530-mdio.c [new file with mode: 0644]
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h