net: stmmac: Separate C22 and C45 transactions for xgmac
authorAndrew Lunn <andrew@lunn.ch>
Thu, 12 Jan 2023 15:15:15 +0000 (16:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:40:54 +0000 (21:40 -0800)
commit3c7826d0b1066bbb316a89f1d8c72652fa8cb53f
tree517f5769c50351dd818dd741ff0994e0631094bb
parent5b0a447efff5a7d99abed41d77903172304fd8d4
net: stmmac: Separate C22 and C45 transactions for xgmac

The stmmac MDIO bus driver in variant gmac4 can perform both C22 and
C45 transfers. Create separate functions for each and register the
C45 versions using the new API calls where appropriate.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c