Hi all, This patch series allows warning an user that the generic PHY driver(s) are used when a SFP incorporates a PHY (e.g: 1000BaseT SFP) which is likely not going to work at all.
Let me know if you would want to do that differently. Florian Fainelli (3): net: phy: Add helpers to determine if PHY driver is generic net: phy: sfp: Issue warning when using Generic PHY driver(s) net: phy: Default MARVELL_PHY to the value of SFP drivers/net/phy/Kconfig | 1 + drivers/net/phy/phy_device.c | 34 ++++++++++++++++++++++++++++++++-- drivers/net/phy/sfp.c | 3 +++ include/linux/phy.h | 3 +++ 4 files changed, 39 insertions(+), 2 deletions(-) -- 2.17.1
