net: dsa: sja1105: Convert to mdiobus_c45_read
authorAndrew Lunn <andrew@lunn.ch>
Sat, 30 Apr 2022 17:30:36 +0000 (19:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 11:21:38 +0000 (13:21 +0200)
commit639e4b93ab68f5f5fc4734c766124ca96c167f14
tree0b5847e8f4c1755f9aed2a5ba09312bfcc25d398
parentcad75717c71b49149fbb1ab136bf88a85274d01e
net: dsa: sja1105: Convert to mdiobus_c45_read

Stop using the helpers to construct a special phy address which
indicates C45. Instead use the C45 accessors, which will call the
busses C45 specific read/write API.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/sja1105/sja1105_main.c