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(-) -- 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