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 6F2BBC433F5 for ; Tue, 4 Jan 2022 10:44:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231445AbiADKo6 (ORCPT ); Tue, 4 Jan 2022 05:44:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbiADKo6 (ORCPT ); Tue, 4 Jan 2022 05:44:58 -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 1FE9DC061761 for ; Tue, 4 Jan 2022 02:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References: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:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ojDFPC4GdqkqjyhXy5hhfAKt1DL52COEmlH0eLMP6U4=; b=kQvUqSXSN5fvlxUbQnjVc33oz8 7bhXcCXdjrtBo55f41Yvb8X3pqS2hIIjnM/4c0jmypWBqtf15lX3ggiqNX4SuZyIg556zgxkW6xzi RuIsXZAM5rxuXOvJU+WniFnyWv2ao8bmuSg45b1P+bIYkv0MXItCvhCromx2fg598T3HlkhcuA6o3 VFQ30qX37O+Qmya/UAY8lOWxw9zXczUUMWBz2W0YB/1u6BeZOdIqTm5RqvQwOwvq6zlM5gss1fUQP sdw1/sJ/AZnCOWtHSX8hYTBIAFsmvIAPMr+E2i+yfVprhhwpfJ16qfLWnrL/Zd0Pje/l/6aRKCAhV BkmzVxiA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:56550) 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 1n4hJE-0006sZ-E5; Tue, 04 Jan 2022 10:44:52 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1n4hJD-0007AV-K3; Tue, 04 Jan 2022 10:44:51 +0000 Date: Tue, 4 Jan 2022 10:44:51 +0000 From: "Russell King (Oracle)" To: Michal Simek , Harini Katakam , Radhey Shyam Pandey Cc: "David S. Miller" , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Sean Anderson Subject: [PATCH CFT v2 0/2] net: axienet: modernise pcs implementation Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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. v2: remove question over switch_x_sgmii drivers/net/ethernet/xilinx/xilinx_axienet.h | 2 + drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 108 +++++++++++----------- 2 files changed, 55 insertions(+), 55 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 9A655C433F5 for ; Tue, 4 Jan 2022 10:46: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:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=rGBzrN0Ih3x21b8mGwVPFkT09GzKXRSsHZJdEdfJHCk=; b=iIP1kzp0ZMX5ww LxhAc/jhxBUAf0uIA1sHhqhoeSF5KvQlexEn7v9bXk1lXuCxZXDO5BBVcj6RRlxybC9wAYV5spv4G EU26k3L9AbntcPf5CxXWtg45MVUbecx5jiajwB6Bb+GZckskF5fxXiXlYjiIb0mx/1KhwHzNX0yy2 xev3zedyAgGoZrcbM5qfDxdh5OAUsRYSLL4Z1ZuSEDWMROHQzi6eNnjHazFoRhPlIcYM1pg7rcrni LJEKL2+K06Jqh7BAQe3gNfZy84T+bQv9F/02X5PlCPTdKT3iL/a1ik9tOheN8l2HysP2upsgNV+aY es591nPg+KsicvXjzdmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4hJN-00BBWW-9P; Tue, 04 Jan 2022 10:45:01 +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 1n4hJJ-00BBUn-Gq for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 10:44:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References: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:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ojDFPC4GdqkqjyhXy5hhfAKt1DL52COEmlH0eLMP6U4=; b=kQvUqSXSN5fvlxUbQnjVc33oz8 7bhXcCXdjrtBo55f41Yvb8X3pqS2hIIjnM/4c0jmypWBqtf15lX3ggiqNX4SuZyIg556zgxkW6xzi RuIsXZAM5rxuXOvJU+WniFnyWv2ao8bmuSg45b1P+bIYkv0MXItCvhCromx2fg598T3HlkhcuA6o3 VFQ30qX37O+Qmya/UAY8lOWxw9zXczUUMWBz2W0YB/1u6BeZOdIqTm5RqvQwOwvq6zlM5gss1fUQP sdw1/sJ/AZnCOWtHSX8hYTBIAFsmvIAPMr+E2i+yfVprhhwpfJ16qfLWnrL/Zd0Pje/l/6aRKCAhV BkmzVxiA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:56550) 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 1n4hJE-0006sZ-E5; Tue, 04 Jan 2022 10:44:52 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1n4hJD-0007AV-K3; Tue, 04 Jan 2022 10:44:51 +0000 Date: Tue, 4 Jan 2022 10:44:51 +0000 From: "Russell King (Oracle)" To: Michal Simek , Harini Katakam , Radhey Shyam Pandey Cc: "David S. Miller" , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Sean Anderson Subject: [PATCH CFT v2 0/2] net: axienet: modernise pcs implementation Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220104_024457_586600_E11737ED X-CRM114-Status: UNSURE ( 8.78 ) 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. v2: remove question over switch_x_sgmii drivers/net/ethernet/xilinx/xilinx_axienet.h | 2 + drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 108 +++++++++++----------- 2 files changed, 55 insertions(+), 55 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