Skip to content

phylink/sfp updates

Russell King - ARM Linux admin netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchFlorian FainelliAndrew Lunn
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] phylink/sfp updates

Hi,

I realise that net-next probably isn't open yet, but I believe folk will find these patches "interesting" so I'm sending them to share them with people working on this code, rather than expecting them to be picked up this week.

The first patch adds support for using interrupts when using a GPIO for link status tracking, rather than polling it at one second intervals. This reduces the need to wakeup the CPU every second.

The second patch adds support to the MII ioctl API to read and write Clause 45 PHY registers. I don't know how desirable this is for mainline, but I have used this facility extensively to investigate the Marvell 88x3310 PHY.

There have been discussions about removing "netdev" from phylink. The last two patches remove netdev from the sfp code, which would be a necessary step in that direction.

 drivers/net/phy/phy.c     | 33 ++++++++++++++++++++--------
 drivers/net/phy/phylink.c | 55 +++++++++++++++++++++++++++++++++++++++++------
 drivers/net/phy/sfp-bus.c | 14 +++++-------
 include/linux/sfp.h       | 12 +++++++----
 4 files changed, 86 insertions(+), 28 deletions(-)
Signature · 3 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up