Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp633218ybj; Thu, 7 May 2020 04:08:29 -0700 (PDT) X-Google-Smtp-Source: APiQypJculNN3mwZLxsJHPDyW+0DVhksVprDM8tOoZb93QxGsGtjDbSnrSy2kN7pJFc4jwKX8thr X-Received: by 2002:a17:906:b896:: with SMTP id hb22mr11074840ejb.209.1588849709774; Thu, 07 May 2020 04:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588849709; cv=none; d=google.com; s=arc-20160816; b=RewLKd2DREtj6rN2JCUC0alKV21qD0TvhUsgUHJafEy/3JwT9JXpJJbGe5uYCzuuOd Z81V/SyFD7bvgSKsxQxZbYr4zx/VfIdwgE6s4hF9ncuEH8lxl6oUp7u1/jnyKHUe/TTr fznTHhVUS0S8mcJQLcEHYyCdscmOIwuxhkHeYYjobqUtkOztZMnfqOpO+mTaqglG4r4h 82a5EHkKnbGU41ryh6TblsxaB5Q2Cuu3BQWW0LNuzaHmvTKpMU1c5xP53RNKusZUPLct OOQluMu4/RUD2Mzl55h9mx0dUiT3PljuTZn1zNjGL17nyBYiaQjHUashd2+kOyVE2IWi cFLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1TQDLXk4eka+0Oxp2Bn8b1wcydmS2119xNQQ8v9Of3A=; b=08JDfjRPEarV6aE8nSDbn0BEnz3TIxoqo2TsLBJf5pdmylxZp7Mb/IpTHceb1OrOng MkQHJDhk4mkIf50Hdh2tq0zjVFzfUru8lkYYQyFuaWeAsa+VryA86Hmy2TWi/k+u4OwK BNmtGZLP8kzkOFXAimO01FCAmf7oQBV/WyAwo0j+syHQ6t8mFeUv9lfOB/+nr3/zOEmW yv16gj6+iszgmrRqoifN3hhtHAyp5MhSjCOBRGKA7cBoH5wzA199UgG66WDmiEuUccur qHOdqCXGvZus2ZCxkaTwuKn3D0w4Z26hgDPSsuB0Gnm4Rajd7a947c4GLPw52v4hfVs7 jqhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1lm1uYG4; 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 a11si2998981ejr.86.2020.05.07.04.08.05; Thu, 07 May 2020 04:08:29 -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=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1lm1uYG4; 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 S1726598AbgEGKu1 (ORCPT + 99 others); Thu, 7 May 2020 06:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbgEGKu1 (ORCPT ); Thu, 7 May 2020 06:50:27 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56D30C061A41 for ; Thu, 7 May 2020 03:50:27 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id t3so11939qkg.1 for ; Thu, 07 May 2020 03:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1TQDLXk4eka+0Oxp2Bn8b1wcydmS2119xNQQ8v9Of3A=; b=1lm1uYG4FqWg47V6Y+gYDIshBO9zX4KSYru04NwBJPv6kFFVFfM5JuAxDs6tZvphbJ oTJilxGIAeSQOYU0i6u9kVh9LY2c67xWbyrpnSBiPqECpZSiW2moygN7fZbQTfav8QK2 PVhyXc4CtEJIGCrd0bzJhiTefp0mzyZ+EbOyJMUDZqyQufbiHgLItmYN1hQD9wMB44pb +U7sR5l34T2+ELpQdAtOqjowgdxN4GWWNkcVU6+j6hZhi4t6FdtitjmBcfH4EYiq0eXp 4P1xej1eG3C2yyeUwdIE9QTRIDhAZrZ/5hXNsRThBODI7DVg3bGoIKHJESig7V88bGr5 VM8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1TQDLXk4eka+0Oxp2Bn8b1wcydmS2119xNQQ8v9Of3A=; b=mQVvPqJmiB9WquFeHP+SAA7raH63XLr02DxZ5i8K8nXwitRNLmTpmf3fZkO5mXA6Sk qo+Z43DXXxtrHZjkTUM6HGObzQH1f1AdSTRKw/uSWBXKF99tWY9e4lI3R9GdhxMmj4D8 T7jpFF+2zazWsWtM7g794vT5sH5lzgebxHftTX9Qv4vsQj6nOdbEpskmp42D7ORL2Aep 0apWqYqnr991sal8Imo1FGspkQPNJt3VvDg9X7KCHG/ljvBCm/wRYAv9nNQeOvvVHbIX ElGyQqbC38mIOdYymRBkgoWGcAo60URt9K25tDUfUZ3d2R+bh6ncX72u2A+n2q+HHOsw +G2g== X-Gm-Message-State: AGi0PubJumsb1SZDjpQVePpxIJeLkasQa8P+29VQqcB4HHjYEphJxa7T mZ9vJ24O6p9+RNUVEvCXV9Y+Mu/d/lIJ6SLtsPem2g== X-Received: by 2002:a05:620a:1f1:: with SMTP id x17mr13989074qkn.330.1588848626441; Thu, 07 May 2020 03:50:26 -0700 (PDT) MIME-Version: 1.0 References: <20200505140231.16600-1-brgl@bgdev.pl> <20200505140231.16600-7-brgl@bgdev.pl> <1588844771.5921.27.camel@mtksdccf07> In-Reply-To: <1588844771.5921.27.camel@mtksdccf07> From: Bartosz Golaszewski Date: Thu, 7 May 2020 12:50:15 +0200 Message-ID: Subject: Re: [PATCH 06/11] net: ethernet: mtk-eth-mac: new driver To: "Mark-MC.Lee" Cc: Bartosz Golaszewski , Rob Herring , "David S . Miller" , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Jakub Kicinski , Arnd Bergmann , Fabien Parent , linux-devicetree , LKML , netdev , arm-soc , linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org czw., 7 maj 2020 o 11:46 Mark-MC.Lee napisa=C5= =82(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. Bart