aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2025-01-10 06:05:11 +0000
committerPaolo Abeni <[email protected]>2025-01-14 10:44:19 +0000
commitfe55b1d401c697c2ef126fe3ebbcaa6885fced5a (patch)
treeff444ef09a754687d1efdc23bda1b66e8bfdda5e /drivers/net/phy/phy.c
parentnet: phy: microchip_t1: depend on PTP_1588_CLOCK_OPTIONAL (diff)
downloadkernel-fe55b1d401c697c2ef126fe3ebbcaa6885fced5a.tar.gz
kernel-fe55b1d401c697c2ef126fe3ebbcaa6885fced5a.zip
ethtool: linkstate: migrate linkstate functions to support multi-PHY setups
Adapt linkstate_get_sqi() and linkstate_get_sqi_max() to take a phy_device argument directly, enabling support for setups with multiple PHYs. The previous assumption of a single PHY attached to a net_device no longer holds. Use ethnl_req_get_phydev() to identify the appropriate PHY device for the operation. Update linkstate_prepare_data() and related logic to accommodate this change, ensuring compatibility with multi-PHY configurations. Signed-off-by: Oleksij Rempel <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions