From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: [PATCH net-next 00/11] SFP/phylink updates Date: Fri, 1 Dec 2017 10:23:07 +0000 Message-ID: <20171201102306.GA18792@n2100.armlinux.org.uk> References: <20171130135835.GC10595@n2100.armlinux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Andrew Lunn , Florian Fainelli Return-path: Received: from pandora.armlinux.org.uk ([78.32.30.218]:43360 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbdLAKXU (ORCPT ); Fri, 1 Dec 2017 05:23:20 -0500 Content-Disposition: inline In-Reply-To: <20171130135835.GC10595@n2100.armlinux.org.uk> Sender: netdev-owner@vger.kernel.org List-ID: Hi, This series, which follows on from the fixes posted earlier, improves the phylink/sfp support. Changes included here are: - Merge 802.3z and SGMII modes into one "in-band" mode, using the PHY_INTERFACE_MODE_xxx definition to determine which should be used. This allows more flexibility as more interface modes become available. - Allow 2500base-X and 10GBASE-KR to be requested from SFP. - Remove unused and unnecessary phylink_init_eee() - Restart 802.3z autonegotiation when starting the network device to ensure that the negotiated parameters are always correct. It has been observed on mvneta that this is not always the case without this change. - Add kerneldoc documentation for phylink and sfp upstream facing APIs and link it in to the networking documentation. - Resolve a sparse warning in sfp-bus.c - Convert phylink/sfp to use fwnode rather than DT so that other firmware systems can take advantage of this - I have received a request for it to be usable with ACPI. The exception to this is our interactions with phylib, as phylib itself does not yet support fwnode. Documentation/networking/kapi.rst | 24 +++ drivers/net/phy/phylink.c | 341 +++++++++++++++++++++++++++++--------- drivers/net/phy/sfp-bus.c | 120 +++++++++++++- include/linux/phy.h | 14 ++ include/linux/phylink.h | 196 +++++++++++++++------- include/linux/sfp.h | 57 +++++-- 6 files changed, 591 insertions(+), 161 deletions(-) -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up