From: David S. Miller Date: Fri, 31 May 2019 19:37:46 +0000 (-0700) Subject: Merge branch 'phylink-sfp-updates' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6912378d54a593dc8469f0ee18135ea62de48c50;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'phylink-sfp-updates' Russell King says: ==================== phylink/sfp updates 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. ==================== Signed-off-by: David S. Miller --- 6912378d54a593dc8469f0ee18135ea62de48c50