[PATCH net-next v2 0/3] net: ethtool: Untangle PHYLIB dependency

From: Florian Fainelli
Date: Mon Jul 06 2020 - 00:28:09 EST


Hi all,

This patch series untangles the ethtool netlink dependency with PHYLIB
which exists because the cable test feature calls directly into PHY
library functions. The approach taken here is to introduce
ethtool_phy_ops function pointers which can be dynamically registered
when PHYLIB loads.

Florian Fainelli (3):
net: ethtool: Introduce ethtool_phy_ops
net: phy: Register ethtool PHY operations
net: ethtool: Remove PHYLIB direct dependency

drivers/net/phy/phy_device.c | 7 +++++++
include/linux/ethtool.h | 25 +++++++++++++++++++++++++
net/Kconfig | 1 -
net/ethtool/cabletest.c | 18 ++++++++++++++++--
net/ethtool/common.c | 11 +++++++++++
net/ethtool/common.h | 2 ++
6 files changed, 61 insertions(+), 3 deletions(-)

--
2.25.1