netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <Nicolas.Ferre@microchip.com>
To: <palmer@sifive.com>
Cc: <davem@davemloft.net>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] net: macb: Kconfig: Rename Atmel to Cadence
Date: Mon, 24 Jun 2019 15:42:21 +0000	[thread overview]
Message-ID: <a2065e81-432f-fc9b-df24-8abe655b45ef@microchip.com> (raw)
In-Reply-To: <mhng-87f5f418-acd4-4a29-b82e-6dc574a4828a@palmer-si-x1e>

On 24/06/2019 at 11:57, Palmer Dabbelt wrote:
> External E-Mail
> 
> 
> On Mon, 24 Jun 2019 02:49:16 PDT (-0700), Nicolas.Ferre@microchip.com wrote:
>> On 24/06/2019 at 08:16, Palmer Dabbelt wrote:
>>> External E-Mail
>>>
>>>
>>> When touching the Kconfig for this driver I noticed that both the
>>> Kconfig help text and a comment referred to this being an Atmel driver.
>>> As far as I know, this is a Cadence driver.  The fix is just
>>
>> Indeed: was written and then maintained by Atmel (now Microchip) for
>> years... So I would say that more than a "Cadence driver" it's a driver
>> that applies to a Cadence peripheral.
>>
>> I won't hold the patch just for this as the patch makes perfect sense,
>> but would love that it's been highlighted...
> 
> OK, I don't mind changing it.  Does this look OK?  I have to submit a v2 anyway
> for the first patch.

Yep, nice!

Thanks,
   Nicolas

> 
> Author: Palmer Dabbelt <palmer@sifive.com>
> Date:   Sun Jun 23 23:04:14 2019 -0700
> 
>      net: macb: Kconfig: Rename Atmel to Cadence
> 
>      The help text makes it look like NET_VENDOR_CADENCE enables support for
>      Atmel devices, when in reality it's a driver written by Atmel that
>      supports Cadence devices.  This may confuse users that have this device
>      on a non-Atmel SoC.
> 
>      The fix is just s/Atmel/Cadence/, but I did go and re-wrap the Kconfig
>      help text as that change caused it to go over 80 characters.
> 
>      Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
> 
> diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig
> index 74ee2bfd2369..29b6132b418e 100644
> --- a/drivers/net/ethernet/cadence/Kconfig
> +++ b/drivers/net/ethernet/cadence/Kconfig
> @@ -1,6 +1,6 @@
>   # SPDX-License-Identifier: GPL-2.0-only
>   #
> -# Atmel device configuration
> +# Cadence device configuration
>   #
> 
>   config NET_VENDOR_CADENCE
> @@ -13,8 +13,8 @@ config NET_VENDOR_CADENCE
>            If unsure, say Y.
> 
>            Note that the answer to this question doesn't directly affect the
> -         kernel: saying N will just cause the configurator to skip all
> -         the remaining Atmel network card questions. If you say Y, you will be
> +         kernel: saying N will just cause the configurator to skip all the
> +         remaining Cadence network card questions. If you say Y, you will be
>            asked for your specific card in the following questions.
> 
>   if NET_VENDOR_CADENCE
> 
>>
>>> s/Atmel/Cadence/, but I did go and re-wrap the Kconfig help text as that
>>> change caused it to go over 80 characters.
>>>
>>> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
>>> ---
>>>    drivers/net/ethernet/cadence/Kconfig | 6 +++---
>>>    1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig
>>> index 74ee2bfd2369..29b6132b418e 100644
>>> --- a/drivers/net/ethernet/cadence/Kconfig
>>> +++ b/drivers/net/ethernet/cadence/Kconfig
>>> @@ -1,6 +1,6 @@
>>>    # SPDX-License-Identifier: GPL-2.0-only
>>>    #
>>> -# Atmel device configuration
>>> +# Cadence device configuration
>>>    #
>>>    
>>>    config NET_VENDOR_CADENCE
>>> @@ -13,8 +13,8 @@ config NET_VENDOR_CADENCE
>>>    	  If unsure, say Y.
>>>    
>>>    	  Note that the answer to this question doesn't directly affect the
>>> -	  kernel: saying N will just cause the configurator to skip all
>>> -	  the remaining Atmel network card questions. If you say Y, you will be
>>> +	  kernel: saying N will just cause the configurator to skip all the
>>> +	  remaining Cadence network card questions. If you say Y, you will be
>>>    	  asked for your specific card in the following questions.
>>>    
>>>    if NET_VENDOR_CADENCE
>>>
>>
>>
>> -- 
>> Nicolas Ferre


-- 
Nicolas Ferre

      reply	other threads:[~2019-06-24 15:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24  6:16 net: macb: Fix compilation on systems without COMMON_CLK Palmer Dabbelt
2019-06-24  6:16 ` [PATCH 1/2] " Palmer Dabbelt
2019-06-24  9:40   ` Nicolas.Ferre
2019-06-24  9:57     ` Palmer Dabbelt
2019-06-24 15:22       ` Nicolas.Ferre
2019-06-25  5:16         ` Harini Katakam
2019-06-24  6:16 ` [PATCH 2/2] net: macb: Kconfig: Rename Atmel to Cadence Palmer Dabbelt
2019-06-24  9:49   ` Nicolas.Ferre
2019-06-24  9:57     ` Palmer Dabbelt
2019-06-24 15:42       ` Nicolas.Ferre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a2065e81-432f-fc9b-df24-8abe655b45ef@microchip.com \
    --to=nicolas.ferre@microchip.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=palmer@sifive.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).