Skip to content

RFC net: phy: sfp: Warn when using generic PHY driver

Florian Fainelli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: phy: Add helpers to determine if PHY driver is genericdrivers/net/phy/phy_device.c include/linux/phy.h+35 -20 replies
2/3net: phy: sfp: Issue warning when using Generic PHY driver(s)drivers/net/phy/sfp.c+3 -00 replies
3/3net: phy: Default MARVELL_PHY to the value of SFPdrivers/net/phy/Kconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC net-next 0/3] net: phy: sfp: Warn when using generic PHY driver

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(-)
Signature · 1 line
2.17.1