net: macb: Separate C22 and C45 transactions
authorAndrew Lunn <andrew@lunn.ch>
Mon, 16 Jan 2023 23:52:19 +0000 (00:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Jan 2023 03:34:08 +0000 (19:34 -0800)
commita4d65b1de2a2034358027d272c878f46076929bb
tree1cf6f9da11285a691b991dfb7535068e28ac37fc
parent064a6a887f95bd6fce17b4d06d6ed2ff7eaa2744
net: macb: Separate C22 and C45 transactions

The macb 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>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c