All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Magnus Damm <magnus.damm@gmail.com>, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH/RFC 02/02] ravb: Clean up duplex handling
Date: Thu, 19 Jul 2018 18:44:03 +0300	[thread overview]
Message-ID: <8dc5f9e6-2572-4223-42d3-3928a69f989b@cogentembedded.com> (raw)
In-Reply-To: <153200107566.13504.725250500519176904.sendpatchset@little-apple>

On 07/19/2018 02:51 PM, Magnus Damm wrote:

> From: Magnus Damm <damm+renesas@opensource.se>
> 
> Since only full-duplex operation is supported by the
> hardware, remove duplex handling code and keep the
> register setting of ECMR.DM fixed at 1.
> 
> This updates the driver implementation to follow the
> data sheet text "This bit should always be set to 1."
> 
> Not-Yet-Signed-off-by: Magnus Damm <damm+renesas@opensource.se>

   Sounds like a fix, please provide a Fixes: tag (I think we're fixing
the initial driver commit here). 

Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

> ---
> 
>  Written on top of renesas-drivers-2018-07-17-v4.18-rc5

   Next time please base atop of DaveM's net.git repo.

[...]
> --- 0003/drivers/net/ethernet/renesas/ravb_main.c
> +++ work/drivers/net/ethernet/renesas/ravb_main.c	2018-07-19 19:44:14.370607110 +0900
[...]
> @@ -1131,13 +1114,6 @@ static int ravb_set_link_ksettings(struc
>  	if (error)
>  		goto error_exit;
>  
> -	if (cmd->base.duplex == DUPLEX_FULL)
> -		priv->duplex = 1;
> -	else
> -		priv->duplex = 0;
> -
> -	ravb_set_duplex(ndev);
> -

   This fragment no longer exists in net.git...

[...]

MBR, Sergei

  reply	other threads:[~2018-07-19 16:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 11:50 [PATCH/RFC 00/02] ravb: Duplex handling update Magnus Damm
2018-07-19 11:51 ` [PATCH/RFC 01/02] ravb: Do not announce 100Mbps HDX as supported Magnus Damm
2018-07-19 14:32   ` Sergei Shtylyov
2018-07-19 17:25     ` Magnus Damm
2018-07-19 17:42       ` Geert Uytterhoeven
2018-07-19 17:56         ` Sergei Shtylyov
2018-07-19 20:09           ` Geert Uytterhoeven
2018-07-20  3:08             ` Magnus Damm
2018-07-20 11:22               ` Sergei Shtylyov
2018-07-20  3:11         ` Magnus Damm
2018-07-20 11:00       ` Sergei Shtylyov
2018-07-19 11:51 ` [PATCH/RFC 02/02] ravb: Clean up duplex handling Magnus Damm
2018-07-19 15:44   ` Sergei Shtylyov [this message]
2018-07-19 17:30     ` Magnus Damm
2018-07-20 11:06       ` Sergei Shtylyov

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=8dc5f9e6-2572-4223-42d3-3928a69f989b@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.