]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite02f54f53e7fd236d7791065aa567212c7c7f069
tree0b5847e8f4c1755f9aed2a5ba09312bfcc25d398
parent87920b6c41392c2a8cfdef3ea329f7d74ec5fbb0
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