[RFC PATCH net-next v3 10/15] net: dsa: mt7530: introduce separate MDIO driver
Andrew Lunn
andrew at lunn.ch
Wed Mar 29 09:38:14 PDT 2023
On Wed, Mar 29, 2023 at 04:59:30PM +0100, Daniel Golle wrote:
> 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.
> In order to maintain compatibility with existing kernel configurations
> keep CONFIG_NET_DSA_MT7530 as symbol to select the MDIO-specific driver
> while the newly introduced hidden symbol CONFIG_NET_DSA_MT7530_COMMON
> is selected by CONFIG_NET_DSA_MT7530.
>
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list