]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: phy: marvell-88q2xxx: Make register writer function generic
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sat, 5 Oct 2024 11:24:11 +0000 (13:24 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Oct 2024 01:18:16 +0000 (18:18 -0700)
commit0e58c188711d41bd6d3b3db3e57e609f3296e731
tree2c3285d5042a39f58e8d68961f63e013f706aaf6
parent21185019aa9c52d5273eea827f07b3feac811546
net: phy: marvell-88q2xxx: Make register writer function generic

In preparation to adding auto negotiation support to mv88q2110 move and
rename the helper function used to write an array of register values to
the PHY.

Just as for mv88q2220 devices this helper will be needed to for the
initial configuration of the mv88q2110 to support auto negotiation.

The function is moved verbatim, there is no change in behavior.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Dimitri Fedrau <dima.fedrau@gmail.com>
Tested-by: Stefan Eichenberger <eichest@gmail.com>
Link: https://patch.msgid.link/20241005112412.544360-3-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/marvell-88q2xxx.c