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 5 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 5 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

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/5] phylink/sfp updates

Hi,

This is a series of updates to phylink and sfp:

- Remove an unused net device argument from the phylink MII ioctl emulation code.

- add 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.

- add 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. A recent illustration of use for this was debugging the PHY-without-firmware problem recently reported.

- add mandatory attach/detach methods for the upstream side of sfp bus code, which will allow us to remove the "netdev" structure from the SFP layers.

- remove the "netdev" structure from the SFP upstream registration calls, which simplifies PHY to SFP links.

 drivers/net/phy/marvell10g.c | 101 +++++++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/phy.c        |  33 ++++++++++----
 drivers/net/phy/phylink.c    |  75 ++++++++++++++++++++++++--------
 drivers/net/phy/sfp-bus.c    |  14 +++---
 include/linux/sfp.h          |  12 +++--
 5 files changed, 195 insertions(+), 40 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