]> 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)
commit2cd48e0206648d5e5cf1046fc15f74218c3e18e1
tree0b5847e8f4c1755f9aed2a5ba09312bfcc25d398
parentb8b9866599ceef0a697f8c7ae1524800163a4be6
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