Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp891116rwl; Wed, 29 Mar 2023 09:43:03 -0700 (PDT) X-Google-Smtp-Source: AKy350aPUQC9VAIrL3hY7Tn9z4+//kQM6BFQdaNtZrF7Q3cW1F/7ZomjlTTpLivQwfQ0EmZ+gn/I X-Received: by 2002:a17:906:4492:b0:931:d277:78a4 with SMTP id y18-20020a170906449200b00931d27778a4mr20633507ejo.30.1680108183186; Wed, 29 Mar 2023 09:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680108183; cv=none; d=google.com; s=arc-20160816; b=c/UeoI2XoL29JjTVzd39q50ZnTw9fwoqqfwLSNlGEKmxhVpAtyIDB3GKv3Fn+Gw4h3 9BlsniaT5fgnftD/74ydFHLBx0dnDO+MYokhWHIjLG0nY7K9x/ZEzC3YKVVP/UeuFgZj T95+vWsW7ApEUEeGVo+/T9GjohMJg3DwAMpRm9KBRbPRyDGY+OTH3R6ELaWOyjXrbAB4 nDu8vsUJV3T360+dq5goDnvH8lVSCTU41bDaLzfF21wkOzyzKOY05FoohBKCsMItBvzb CiFfyW+MMPRce2uhjPQQm+7fO/uiGBFroNRIPPM2Ha6UvLHIXB1Evvut9MfSCPdNmdjw RcLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nqb3eOXKREvLW9BAFYXjCeVhhXMvbL63kC9zEhZdZEQ=; b=IB+QnuYheMb3/DWHXxMt50CEGixcpG2ywglVOdefr+6a/eDoKfQemy28J+Icg+Z/Lt wtKmXBEaQRUvGHvpylhZYFCCqznd9RQygmhQH6DjNlIXDIQOKFDAcocFCYm3Tr8dLdmy b+HYmGcTJk4IrS/ZddIjG8FySRnuBGIwKtdvSkob0xY8Rvzq5VzI7w2dlQimzDVOTtav UM0FMOwWT+Y9nAYFyrQi1qnCGXNc0fdNqIDzxo2rBuQNUgcCldrpF/tV9TxjAE3yEJP8 7rnOoRWmYdRAfWss1QRzC4ZYDqZJyaV/6IDOsFgvC2Emsp7vPEcsaR/rW3RlMcLQ+8pA gdyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=rPat5mwv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d20-20020a17090694d400b009263490cbeasi28448500ejy.92.2023.03.29.09.42.38; Wed, 29 Mar 2023 09:43:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=rPat5mwv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbjC2QiV (ORCPT + 99 others); Wed, 29 Mar 2023 12:38:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbjC2QiU (ORCPT ); Wed, 29 Mar 2023 12:38:20 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E7ADB; Wed, 29 Mar 2023 09:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=nqb3eOXKREvLW9BAFYXjCeVhhXMvbL63kC9zEhZdZEQ=; b=rPat5mwvB49J7zctdFuplYqikj uAZJOanlxahOez2qiAOXwTugc5ITra60zC3mK6Uq0b4WjWjNEEcpR6Wa6wFCo9R7wq+cakq7zokLz BZC4R9JLa23qoPLCL8avs9c2uBwOBIyNebwD/+VW6IKwlVcgq1+HMxlXseM3GuOiTCz0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1phYoQ-008mcU-RO; Wed, 29 Mar 2023 18:38:14 +0200 Date: Wed, 29 Mar 2023 18:38:14 +0200 From: Andrew Lunn To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Sean Wang , Landen Chao , DENG Qingfang , Philipp Zabel , Sam Shih , Lorenzo Bianconi , John Crispin , Felix Fietkau Subject: Re: [RFC PATCH net-next v3 10/15] net: dsa: mt7530: introduce separate MDIO driver Message-ID: <868f3eae-cca6-4234-95aa-e21c021e18a2@lunn.ch> References: <2bef9ef442261e26d4d933f101f4a25c0f3aad2a.1680105013.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2bef9ef442261e26d4d933f101f4a25c0f3aad2a.1680105013.git.daniel@makrotopia.org> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 29, 2023 at 04:59:30PM +0100, Daniel Golle wrote: > Split MT7530 switch driver into a common part and a part specific > for MDIO connected switches and multi-chip modules. > Move MDIO-specific functions to newly introduced mt7530-mdio.c while > keeping the common parts in mt7530.c. > In order to maintain compatibility with existing kernel configurations > keep CONFIG_NET_DSA_MT7530 as symbol to select the MDIO-specific driver > while the newly introduced hidden symbol CONFIG_NET_DSA_MT7530_COMMON > is selected by CONFIG_NET_DSA_MT7530. > > Signed-off-by: Daniel Golle Reviewed-by: Andrew Lunn Andrew