]> git.baikalelectronics.ru Git - kernel.git/commit
net: pcs: pcs-xpcs: Convert to mdiobus_c45_read
authorAndrew Lunn <andrew@lunn.ch>
Sat, 30 Apr 2022 17:30:37 +0000 (19:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 11:21:38 +0000 (13:21 +0200)
commitee48d7d9c38e5d9fe9d86966b2e9a376b665f365
treea17af5d43e6ae3e9d26cda46cb39a71b821daa02
parente02f54f53e7fd236d7791065aa567212c7c7f069
net: pcs: pcs-xpcs: Convert to mdiobus_c45_read

Stop using the helpers to construct a special mdio 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/pcs/pcs-xpcs.c