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 9D153C7618E for ; Mon, 20 Mar 2023 11:40:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbjCTLkQ (ORCPT ); Mon, 20 Mar 2023 07:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbjCTLkH (ORCPT ); Mon, 20 Mar 2023 07:40:07 -0400 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 9325C132C9; Mon, 20 Mar 2023 04:39:54 -0700 (PDT) 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=mMu5YLP/jkTdIj0tnEnlgPK0Nfp3Fpp+6udewmgirXw=; b=rQVL0WSfI6DDRuaDEwJjml822x KtD2v3CIHFYriDuEcS/4jsw7sMIu29l3YxeOvPW7AQVStBSosRBnhpzGCtNJTqKhaOXH3g/Hs2VEp QiBBkJ0iwG9hePCrAi4tGgO3CJcfKk5uKSTzB8faTx2U0JEueCpcj3K8D815BgfQZHivCxTqgCuQH 5VGpiCW36UCDPR1FAcRswaokuMIeG8Q8VH3PGLYwRJxkHKHsM4QFwa5o5SNDpdOqlhGBAx/arsTuk EU9ES962mB0vkzSC1W8rXTGIO23j+FLDvlaUseE2G8SA8BQE3+mhQy82SJxgvmvxVcFBQ5EuGz89y T6gVTt3w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:37718) 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 1peDrb-0007HS-54; Mon, 20 Mar 2023 11:39:43 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1peDrP-0006UF-Dn; Mon, 20 Mar 2023 11:39:31 +0000 Date: Mon, 20 Mar 2023 11:39:31 +0000 From: "Russell King (Oracle)" To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Heiner Kallweit , Lorenzo Bianconi , Mark Lee , John Crispin , Felix Fietkau , AngeloGioacchino Del Regno , Matthias Brugger , DENG Qingfang , Landen Chao , Sean Wang , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , Vladimir Oltean , =?iso-8859-1?Q?Bj=F8rn?= Mork , Frank Wunderlich , Alexander Couzens Subject: Re: [PATCH net-next v14 7/9] net: pcs: add driver for MediaTek SGMII PCS 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: linux-kernel@vger.kernel.org On Sun, Mar 19, 2023 at 12:57:50PM +0000, Daniel Golle wrote: > The SGMII core found in several MediaTek SoCs is identical to what can > also be found in MediaTek's MT7531 Ethernet switch IC. > As this has not always been clear, both drivers developed different > implementations to deal with the PCS. > Recently Alexander Couzens pointed out this fact which lead to the > development of this shared driver. > > Add a dedicated driver, mostly by copying the code now found in the > Ethernet driver. The now redundant code will be removed by a follow-up > commit. > > Suggested-by: Alexander Couzens > Suggested-by: Russell King (Oracle) > Signed-off-by: Daniel Golle Reviewed-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!