diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-08-21 18:10:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-23 15:04:34 +0300 |
commit | 31748765bed3fb7cebf4a32b43a6fdf91b9c23de (patch) | |
tree | 0150874760bff5ad69a85bac3d4e91e3345b1a6e /drivers/fpga/fpga-mgr.c | |
parent | 02180fb525bac8c259c3b7271ddfa498d47c5dcc (diff) | |
download | linux-31748765bed3fb7cebf4a32b43a6fdf91b9c23de.tar.xz |
net: ethtool: pse-pd: Target the command to the requested PHY
PSE and PD configuration is a PHY-specific command. Instead of targeting
the command towards dev->phydev, use the request to pick the targeted
PHY device.
As we don't get the PHY directly from the netdev's attached phydev, also
adjust the error messages.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions