Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp725593ybj; Thu, 7 May 2020 06:19:17 -0700 (PDT) X-Google-Smtp-Source: APiQypL/Cxfui/gHTdYdeYymgcrtfsUxnfF4vD5tcX+5IaO8NKs/Vlcd2sR+enFgT5PCScS1Ggnd X-Received: by 2002:a50:c60c:: with SMTP id k12mr11687817edg.111.1588857556908; Thu, 07 May 2020 06:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588857556; cv=none; d=google.com; s=arc-20160816; b=vwEV0QXP7KODPkRgwGD64N7aZkOzrjKRQ8HLK6rTz4+WlNDsl0jzOZTKSGr/bmkmjt zfFuTKnKKZHF57p4IciSnSxo+ZvBm0OHXmitkl3shOPRurpabhuMqZN8LDs7UL7ago0D PqE3HKruFcd+wT68HeOeEP72T3HktuW75p1EsxfoWR/PYiusWTchHjGgMklFHgBpZw+R 9UfKYCT7eKD6juryVPulP1zsFR9PODAqVHur7T4WrS2v5F87nM989ofTaqdM2sBZCirF xTxaMx0hxEgiEt2TBjKf3RtBf9zWvCkBxerw22FXXGIpbCZRbqZCCMmuF/gXKjIw889A oYcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Vk41FiGE7OzvR4Ex8ve/e7chOhsCEpaO414K5RXlxrY=; b=aY6YMe3VKlB454bGGRlSMK8iAaYPwYL8Yy+PWcuM+DEKuuJ8DCG9qZGfLz4nNWbLh/ A2NkHirq0mZRmvS2OxkGhXC8LlWaa/s+athCBVxICf5DDoRAkUTootsVkKdJ7140szs2 pjTkEjlTZnTd3iKMS5v6O0EN52FjFVdNAHz+QaSU2wb6axNtgVlYJ/t4akKJR1/IL2+3 XnlRO70/J/rNOV4+lhNfEHCOm6GzzmULabciZLezcYjKJsthctRba+fD25G7bGB/E6ca VVxL4n24hwPl4njAk0w8qVmYHCItMOe7cQBW5WvK18uF4pZS6DnySGLMTFa4Mv7rxx2u 1msA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=tTp2bzTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si3043323ejw.31.2020.05.07.06.18.49; Thu, 07 May 2020 06:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=tTp2bzTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbgEGNQv (ORCPT + 99 others); Thu, 7 May 2020 09:16:51 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:47176 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgEGNQv (ORCPT ); Thu, 7 May 2020 09:16:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender: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=Vk41FiGE7OzvR4Ex8ve/e7chOhsCEpaO414K5RXlxrY=; b=tTp2bzTIB3i1MnLPqrNbuPXcsY WfQt9FVPRWRBztAkewuKACD/1WAg2q6auQUsYJkw/msyPR0OQHQUOfsrFWcF1lafu47rbBSjN6NPB Qbfxri/uC9wv8/ac2eZpekCVKVOOnEnfoIX3VyRlq9uVhbKjNL/MKC3Cpp8aRITHl6Jo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jWgOL-001E3q-DR; Thu, 07 May 2020 15:16:45 +0200 Date: Thu, 7 May 2020 15:16:45 +0200 From: Andrew Lunn To: Bartosz Golaszewski Cc: "Mark-MC.Lee" , linux-devicetree , Felix Fietkau , Arnd Bergmann , netdev , Bartosz Golaszewski , Sean Wang , LKML , Fabien Parent , Rob Herring , linux-mediatek@lists.infradead.org, John Crispin , Matthias Brugger , Jakub Kicinski , "David S . Miller" , arm-soc Subject: Re: [PATCH 06/11] net: ethernet: mtk-eth-mac: new driver Message-ID: <20200507131645.GM208718@lunn.ch> References: <20200505140231.16600-1-brgl@bgdev.pl> <20200505140231.16600-7-brgl@bgdev.pl> <1588844771.5921.27.camel@mtksdccf07> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 12:50:15PM +0200, Bartosz Golaszewski wrote: > czw., 7 maj 2020 o 11:46 Mark-MC.Lee napisaƂ(a): > > > > Hi Bartosz: > > I think the naming of this driver and its Kconfig option is too generic > > that will confuse with current mediatek SoCs eth driver architecture(for > > all mt7xxx SoCs). > > Since mtk_eth_mac.c is not a common MAC part for all mediatek SoC but > > only a specific eth driver for mt85xx, it will be more reasonable to > > name it as mt85xx_eth.c and change NET_MEDIATEK_MAC to > > NET_MEDIATEK_MT85XX. How do you think? > > > > Hi Mark, > > I actually consulted this with MediaTek and the name is their idea. > Many drivers in drivers/net/ethernet have very vague names. I guess > this isn't a problem. They have vague names, but they tend to be not confusing. NET_MEDIATEK_MAC vs NET_MEDIATEK_SOC is confusing. I think the proposed name, mt85xx_eth.c and NET_MEDIATEK_MT85XX is good. Or some variant on this, mt8xxx? Andrew