From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE2E0C433F5 for ; Thu, 16 Dec 2021 12:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236932AbhLPMrz (ORCPT ); Thu, 16 Dec 2021 07:47:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236919AbhLPMrx (ORCPT ); Thu, 16 Dec 2021 07:47:53 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CE4EC061574 for ; Thu, 16 Dec 2021 04:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jxCv6zM4/AJUYK3u/tkYLL5oHjuuejaIEOEtkVdPMVc=; b=NWjxRvbpMmB1VeGGH/qtCH49M7 0KtG/h0eaUWA44nXkf5d5k4XUNyTzz7/uYRWi68HIg5kanX2nizCdRNceMiiGCAo7vVE0yDy/FBWA hoZUnsTDjQUCwJOy2qFFVvj4j8Byw4Y1rRfuEGsZiQIb9unsEFIOkC8HNhQ1bPUWJu2Q4pQbk6E+k AgPXuU14bXJj+hpOSGiZddpGkOV1Ob9ENk2zbql05gVynrr8tRbYYFwILib89WDF5TeMe5TUhICaZ L1WYS7X+PasVQlltFZ47A3hwPoIx3gzqaEvf3DrHF32p0zbd/GDu2teuobU+uuFT/AWXVimGl5xbm jUrvZChQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:56316) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mxqAm-0007oq-4G; Thu, 16 Dec 2021 12:47:48 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mxqAj-0005QP-7I; Thu, 16 Dec 2021 12:47:45 +0000 Date: Thu, 16 Dec 2021 12:47:45 +0000 From: "Russell King (Oracle)" To: Michal Simek , Radhey Shyam Pandey Cc: "David S. Miller" , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Sean Anderson Subject: [PATCH CFT 0/2] net: axienet: modernise pcs implementation Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, These two patches modernise the Xilinx axienet PCS implementation to use the phylink split PCS support. The first patch adds split PCS support and makes use of the newly introduced mac_select_pcs() function, which is the preferred way to conditionally attach a PCS. The second patch cleans up the use of mdiobus_write() since we now have bus accessors for mdio devices. There should be no functional change to the driver. Please test, thanks. drivers/net/ethernet/xilinx/xilinx_axienet.h | 1 + drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 111 +++++++++++----------- 2 files changed, 56 insertions(+), 56 deletions(-) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C6CDAC433EF for ; Thu, 16 Dec 2021 13:16:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=15AUuI3vDHJoD9NxbUNjZFHuzBd2jnZf6GpksEojN2w=; b=Glc9nLWiYqT65H 2tX1FSrS2GmGsg7cxNjVWVq3y0Efuw5CB+KXN3FU2+VPCdpDq+Gadq1xZEtaf9ADzzgOnirhR1rAd mw/AbDUh3ukVIXv657V2jyIrcq9gwrVPm/mHniwBtoR6KnrHDX3uwIgwf6aAR+0njlEiHVuuHkv+q bTG03O1RVxWvM9UUPT97gg0bgdsb6+8TtbIOskh4+CKqIhGKBZsFgyNDYU0xQmygwIieP/sD3NX7s pW5NMJPwtQ8Vn1czJChZmMvAt/uGbJaAhdSl8E5jfHAqYsk/JY/AhIi9rfNaHuSzjNwCxyb95d9zj 4zr7YmT3iXQJUpeAfa3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxqaP-005gak-3i; Thu, 16 Dec 2021 13:14:17 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxqAu-005Wbk-Rw for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 12:48:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jxCv6zM4/AJUYK3u/tkYLL5oHjuuejaIEOEtkVdPMVc=; b=NWjxRvbpMmB1VeGGH/qtCH49M7 0KtG/h0eaUWA44nXkf5d5k4XUNyTzz7/uYRWi68HIg5kanX2nizCdRNceMiiGCAo7vVE0yDy/FBWA hoZUnsTDjQUCwJOy2qFFVvj4j8Byw4Y1rRfuEGsZiQIb9unsEFIOkC8HNhQ1bPUWJu2Q4pQbk6E+k AgPXuU14bXJj+hpOSGiZddpGkOV1Ob9ENk2zbql05gVynrr8tRbYYFwILib89WDF5TeMe5TUhICaZ L1WYS7X+PasVQlltFZ47A3hwPoIx3gzqaEvf3DrHF32p0zbd/GDu2teuobU+uuFT/AWXVimGl5xbm jUrvZChQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:56316) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mxqAm-0007oq-4G; Thu, 16 Dec 2021 12:47:48 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mxqAj-0005QP-7I; Thu, 16 Dec 2021 12:47:45 +0000 Date: Thu, 16 Dec 2021 12:47:45 +0000 From: "Russell King (Oracle)" To: Michal Simek , Radhey Shyam Pandey Cc: "David S. Miller" , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Sean Anderson Subject: [PATCH CFT 0/2] net: axienet: modernise pcs implementation Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_044756_956552_27EE2925 X-CRM114-Status: UNSURE ( 7.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, These two patches modernise the Xilinx axienet PCS implementation to use the phylink split PCS support. The first patch adds split PCS support and makes use of the newly introduced mac_select_pcs() function, which is the preferred way to conditionally attach a PCS. The second patch cleans up the use of mdiobus_write() since we now have bus accessors for mdio devices. There should be no functional change to the driver. Please test, thanks. drivers/net/ethernet/xilinx/xilinx_axienet.h | 1 + drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 111 +++++++++++----------- 2 files changed, 56 insertions(+), 56 deletions(-) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel