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 1A7E1C433F5 for ; Wed, 16 Feb 2022 15:06:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235365AbiBPPGq (ORCPT ); Wed, 16 Feb 2022 10:06:46 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235357AbiBPPGm (ORCPT ); Wed, 16 Feb 2022 10:06:42 -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 2B45E269 for ; Wed, 16 Feb 2022 07:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To: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=s6+jGcqWo+LJLm1bijnzo6vuRFoNFh4J4cCMIVqHDi4=; b=o8ADY8puRchzDzpMB6nKb9dy/9 Lt/LRg0o5DCyRv4qSdXymlfT8sy4Q58cAp4oMPyry8AlW7HyTEWPqdHjhCSv8kkUtl4l4Aii6T45g 4CY4mcyIbxXNR3YUa2+rq2jk/0cqho6UVZ1WlH7icsKE2EMnRhPgEsTZFwgJb+sAlaohxjwGhC2C+ yGkEs1hQHSWq98K+9AHbw0IbGbxI/thWcIlPr8RQlTwfIZhnl7x6oAXCNgw0HeTBZ2apN80PaxTxx lwGZbPvE6MECUajBFiBFI/FPdiQoeyv0b1361t42rTcTVCZgoNRbIUYuswbTlBTMCXJDN3pd4g7EA XU7490ZA==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:46604 helo=rmk-PC.armlinux.org.uk) 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 1nKLsx-0003zW-7u; Wed, 16 Feb 2022 15:06:27 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nKLsw-009NN7-L9; Wed, 16 Feb 2022 15:06:26 +0000 In-Reply-To: References: From: "Russell King (Oracle)" To: Ansuel Smith Cc: Andrew Lunn , "David S. Miller" , Florian Fainelli , Jakub Kicinski , netdev@vger.kernel.org, Vivien Didelot , Vladimir Oltean Subject: [PATCH net-next 6/6] net: dsa: qca8k: mark as non-legacy MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Message-Id: Sender: Russell King Date: Wed, 16 Feb 2022 15:06:26 +0000 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The qca8k driver does not make use of the speed, duplex, pause or advertisement in its phylink_mac_config() implementation, so it can be marked as a non-legacy driver. Signed-off-by: Russell King (Oracle) --- drivers/net/dsa/qca8k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index e6c6ecdec9bb..798eb5c72b1d 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -1814,6 +1814,8 @@ static void qca8k_phylink_get_caps(struct dsa_switch *ds, int port, config->mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | MAC_10 | MAC_100 | MAC_1000FD; + + config->legacy_pre_march2020 = false; } static void -- 2.30.2