net: dsa: sja1105: C45 only transactions for PCS
authorAndrew Lunn <andrew@lunn.ch>
Mon, 16 Jan 2023 23:52:25 +0000 (00:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Jan 2023 03:34:08 +0000 (19:34 -0800)
commitae271547bba63095237386beed84a7701f4f7f14
tree4be760b5a5de59504be9154c42438aa0cd4f75ee
parent47e61593f367060c83f07a6b46aa7a4f77ffb4dd
net: dsa: sja1105: C45 only transactions for PCS

The sja1105 MDIO bus driver only supports C45 transfers. Update the
function names to make this clear, pass the mmd as a parameter, and
register the accessors to the _c45 ops of the bus driver structure.

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/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_mdio.c
drivers/net/dsa/sja1105/sja1105_spi.c