net: fec: Separate C22 and C45 transactions
authorAndrew Lunn <andrew@lunn.ch>
Mon, 9 Jan 2023 15:30:49 +0000 (16:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Jan 2023 23:53:37 +0000 (15:53 -0800)
commit8d03ad1ab0b052f1f992a52fb80a31b7540b61f6
tree1592213e3f490062c027123812fcc159b13c9be7
parentc0fc8e6dcee40cf442ee0d6f7305b957fb902ea1
net: fec: Separate C22 and C45 transactions

The fec MDIO bus driver 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>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fec_main.c