From patchwork Tue Nov 16 10:06:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 12621899 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FC53C433EF for ; Tue, 16 Nov 2021 10:06:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3178F6187F for ; Tue, 16 Nov 2021 10:06:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233697AbhKPKJd (ORCPT ); Tue, 16 Nov 2021 05:09:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233671AbhKPKJd (ORCPT ); Tue, 16 Nov 2021 05:09:33 -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 B3E8FC061570 for ; Tue, 16 Nov 2021 02:06:36 -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=v4EyiamS3qEDk/bFSW7Mh8VEL5uiE8CqhMTbRBvandw=; b=DCE3MBVNXDN2bbtu+KNiKwPC6+ j7wg1tXrVwTRno05bIbEVjz2zXeMcZPVJw84746Qsjw6u+AsSeAmrTfr+3XTx3Y3k4rnwK1+JPGSV ZlGfxh/CUTtSI1mORZdI8Q8C49gc5cI7PyVieANZS1K2ePy3kO7sQF5PqLyX5TgtQqr9X78T4B+j+ 8eRtkuJMKEAfA0lkC3iLJEflSWJ4D5+ETAMyAR3HyRDW6YCjhZE4wSSwCBcmfMH3AP1b3HY6XIAM7 ZajkwjXRkGqGb/RSv/NHLKgHhiW2AwuG8/wxU77s52ExrzBl9pcJdhbReX2qawBjggg68gI0aVqyb YLsHG+Hg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55654) 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 1mmvMA-0000La-9V; Tue, 16 Nov 2021 10:06:26 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mmvM7-0001uh-1l; Tue, 16 Nov 2021 10:06:23 +0000 Date: Tue, 16 Nov 2021 10:06:23 +0000 From: "Russell King (Oracle)" To: Felix Fietkau , John Crispin , Mark Lee , Matthias Brugger , Sean Wang Cc: "David S. Miller" , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH net-next 0/4] net: mtk_eth_soc: phylink validate implementation updates Message-ID: MIME-Version: 1.0 Content-Disposition: inline Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hi, This series converts mtk_eth_soc to fill in the supported_interfaces member of phylink_config, cleans up the validate() implementation, and then converts to phylink_generic_validate(). drivers/net/ethernet/mediatek/mtk_eth_soc.c | 111 ++++++---------------------- 1 file changed, 24 insertions(+), 87 deletions(-)