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

From: Michael Walle
Date: Mon Jan 16 2023 - 18:53:12 EST


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

This is the third (and hopefully last) patch set in the series which
separates the C22 and C45 MDIO bus transactions at the API level to the
MDIO bus drivers.

The first patch is a newer version of the former "net: dsa: Separate C22
and C45 MDIO bus transaction methods", which only contains the mt7530
changes. Although posted as v1, because this is a new series, there is a
changelog included in the patch comment section.

The last patch is a new one, which isn't from Andrew's tree.

To: Sean Wang <sean.wang@xxxxxxxxxxxx>
To: Landen Chao <Landen.Chao@xxxxxxxxxxxx>
To: DENG Qingfang <dqfext@xxxxxxxxx>
To: Florian Fainelli <f.fainelli@xxxxxxxxx>
To: Vladimir Oltean <olteanv@xxxxxxxxx>
To: "David S. Miller" <davem@xxxxxxxxxxxxx>
To: Eric Dumazet <edumazet@xxxxxxxxxx>
To: Jakub Kicinski <kuba@xxxxxxxxxx>
To: Paolo Abeni <pabeni@xxxxxxxxxx>
To: Matthias Brugger <matthias.bgg@xxxxxxxxx>
To: Russell King <linux@xxxxxxxxxxxxxxx>
To: Byungho An <bh74.an@xxxxxxxxxxx>
To: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
To: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
To: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
To: Tony Nguyen <anthony.l.nguyen@xxxxxxxxx>
To: Yisen Zhuang <yisen.zhuang@xxxxxxxxxx>
To: Salil Mehta <salil.mehta@xxxxxxxxxx>
To: Tom Lendacky <thomas.lendacky@xxxxxxx>
To: Shyam Sundar S K <Shyam-sundar.S-k@xxxxxxx>
To: Sergey Shtylyov <s.shtylyov@xxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: intel-wired-lan@xxxxxxxxxxxxxxxx
Cc: linux-renesas-soc@xxxxxxxxxxxxxxx
Cc: Andrew Lunn <andrew@xxxxxxx>
Signed-off-by: Michael Walle <michael@xxxxxxxx>

---
Andrew Lunn (11):
net: dsa: mt7530: Separate C22 and C45 MDIO bus transactions
net: sxgbe: Separate C22 and C45 transactions
net: nixge: Separate C22 and C45 transactions
net: macb: Separate C22 and C45 transactions
ixgbe: Separate C22 and C45 transactions
ixgbe: Use C45 mdiobus accessors
net: hns: Separate C22 and C45 transactions
amd-xgbe: Separate C22 and C45 transactions
amd-xgbe: Replace MII_ADDR_C45 with XGBE_ADDR_C45
net: dsa: sja1105: C45 only transactions for PCS
net: dsa: sja1105: Separate C22 and C45 transactions for T1 MDIO bus

Michael Walle (1):
net: ethernet: renesas: rswitch: C45 only transactions

drivers/net/dsa/mt7530.c | 87 ++++-----
drivers/net/dsa/mt7530.h | 15 +-
drivers/net/dsa/sja1105/sja1105.h | 16 +-
drivers/net/dsa/sja1105/sja1105_mdio.c | 131 ++++++-------
drivers/net/dsa/sja1105/sja1105_spi.c | 24 +--
drivers/net/ethernet/amd/xgbe/xgbe-common.h | 11 +-
drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 91 ++++++---
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c | 120 +++++++++---
drivers/net/ethernet/amd/xgbe/xgbe.h | 7 +-
drivers/net/ethernet/cadence/macb_main.c | 161 ++++++++++------
drivers/net/ethernet/hisilicon/hns_mdio.c | 192 +++++++++++++------
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c | 237 ++++++++++++++++++------
drivers/net/ethernet/ni/nixge.c | 141 ++++++++------
drivers/net/ethernet/renesas/rswitch.c | 28 +--
drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c | 105 ++++++++---
16 files changed, 906 insertions(+), 466 deletions(-)
---
base-commit: c941c0a15bee01a702d82793fe605326d453d9a7
change-id: 20230116-net-next-c45-seperation-part-3-f5387bcdf3ea

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