[PATCH net-next 00/10] net: mdio: Continue separating C22 and C45

From: Michael Walle
Date: Thu Jan 12 2023 - 10:23:28 EST


I've picked this older series from Andrew up and rebased it onto
the latest net-next.

This is the second patch set in the series which separates the C22
and C45 MDIO bus transactions at the API level to the MDIO bus drivers.

Signed-off-by: Michael Walle <michael@xxxxxxxx>



To: Heiner Kallweit <hkallweit1@xxxxxxxxx>
To: Russell King <linux@xxxxxxxxxxxxxxx>
To: "David S. Miller" <davem@xxxxxxxxxxxxx>
To: Eric Dumazet <edumazet@xxxxxxxxxx>
To: Jakub Kicinski <kuba@xxxxxxxxxx>
To: Paolo Abeni <pabeni@xxxxxxxxxx>
To: Ray Jui <rjui@xxxxxxxxxxxx>
To: Scott Branden <sbranden@xxxxxxxxxxxx>
To: Broadcom internal kernel review list <bcm-kernel-feedback-list@xxxxxxxxxxxx>
To: Joel Stanley <joel@xxxxxxxxx>
To: Andrew Jeffery <andrew@xxxxxxxx>
To: Felix Fietkau <nbd@xxxxxxxx>
To: John Crispin <john@xxxxxxxxxxx>
To: Sean Wang <sean.wang@xxxxxxxxxxxx>
To: Mark Lee <Mark-MC.Lee@xxxxxxxxxxxx>
To: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
To: Matthias Brugger <matthias.bgg@xxxxxxxxx>
To: Bryan Whitehead <bryan.whitehead@xxxxxxxxxxxxx>
To: UNGLinuxDriver@xxxxxxxxxxxxx
To: Giuseppe Cavallaro <peppe.cavallaro@xxxxxx>
To: Alexandre Torgue <alexandre.torgue@xxxxxxxxxxx>
To: Jose Abreu <joabreu@xxxxxxxxxxxx>
To: Maxime Coquelin <mcoquelin.stm32@xxxxxxxxx>
To: Vladimir Oltean <vladimir.oltean@xxxxxxx>
To: Claudiu Manoil <claudiu.manoil@xxxxxxx>
To: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
To: Florian Fainelli <f.fainelli@xxxxxxxxx>
To: Li Yang <leoyang.li@xxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-aspeed@xxxxxxxxxxxxxxxx
Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
Cc: linux-stm32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
Cc: Andrew Lunn <andrew@xxxxxxx>
Signed-off-by: Michael Walle <michael@xxxxxxxx>

---
Andrew Lunn (10):
net: mdio: cavium: Separate C22 and C45 transactions
net: mdio: i2c: Separate C22 and C45 transactions
net: mdio: mux-bcm-iproc: Separate C22 and C45 transactions
net: mdio: aspeed: Separate C22 and C45 transactions
net: mdio: ipq4019: Separate C22 and C45 transactions
net: ethernet: mtk_eth_soc: Separate C22 and C45 transactions
net: lan743x: Separate C22 and C45 transactions
net: stmmac: Separate C22 and C45 transactions for xgmac2
net: stmmac: Separate C22 and C45 transactions for xgmac
enetc: Separate C22 and C45 transactions

drivers/net/dsa/ocelot/felix_vsc9959.c | 6 +-
drivers/net/ethernet/freescale/enetc/enetc_mdio.c | 119 ++++++--
.../net/ethernet/freescale/enetc/enetc_pci_mdio.c | 6 +-
drivers/net/ethernet/freescale/enetc/enetc_pf.c | 12 +-
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 178 +++++++----
drivers/net/ethernet/microchip/lan743x_main.c | 106 ++++---
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 331 ++++++++++++++-------
drivers/net/mdio/mdio-aspeed.c | 47 +--
drivers/net/mdio/mdio-cavium.c | 111 +++++--
drivers/net/mdio/mdio-cavium.h | 9 +-
drivers/net/mdio/mdio-i2c.c | 32 +-
drivers/net/mdio/mdio-ipq4019.c | 154 ++++++----
drivers/net/mdio/mdio-mux-bcm-iproc.c | 54 +++-
drivers/net/mdio/mdio-octeon.c | 6 +-
drivers/net/mdio/mdio-thunder.c | 6 +-
include/linux/fsl/enetc_mdio.h | 21 +-
16 files changed, 766 insertions(+), 432 deletions(-)
---
base-commit: 0a093b2893c711d82622a9ab27da4f1172821336
change-id: 20230112-net-next-c45-seperation-part-2-1b8fbb144687

Best regards,
--
Michael Walle <michael@xxxxxxxx>