net: mdio: cavium: Separate C22 and C45 transactions
authorAndrew Lunn <andrew@lunn.ch>
Thu, 12 Jan 2023 15:15:07 +0000 (16:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:40:53 +0000 (21:40 -0800)
commit93641ecbaa1f2602c455842ad0b0fe066f5f1344
tree684707636ab459a6170a09b5f911d419fa46e913
parent9b7fe8046d7429ba776f962ad3b4b7ba2d6859c8
net: mdio: cavium: Separate C22 and C45 transactions

The cavium IP can perform both C22 and C45 transfers.  Create separate
functions for each and register the C45 versions in both the octeon
and thunder bus driver.

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/mdio/mdio-cavium.c
drivers/net/mdio/mdio-cavium.h
drivers/net/mdio/mdio-octeon.c
drivers/net/mdio/mdio-thunder.c