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 01/02] ravb: Do not announce 100Mbps HDX as supported
Date: Thu, 19 Jul 2018 17:32:43 +0300	[thread overview]
Message-ID: <f7dad4b7-d1d6-3fcc-750d-deffc0e26717@cogentembedded.com> (raw)
In-Reply-To: <153200106718.13504.7319401547888522726.sendpatchset@little-apple>

Hello!

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

> From: Magnus Damm <damm+renesas@opensource.se>
> 
> According to the data sheet the Ethernet-AVB hardware in R-Car Gen3
> and R-Car Gen2 SoCs do not support half duplex operation. So update
> the driver to mark 100Mbit HDX as unsupported.

   What about 1000Mbit HDX?

> Not-Yet-Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> ---
> 
>  Written on top of renesas-drivers-2018-07-17-v4.18-rc5
> 
>  drivers/net/ethernet/renesas/ravb_main.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- 0001/drivers/net/ethernet/renesas/ravb_main.c
> +++ work/drivers/net/ethernet/renesas/ravb_main.c	2018-07-19 19:18:38.210607110 +0900
> @@ -1066,8 +1066,8 @@ static int ravb_phy_init(struct net_devi
>  		netdev_info(ndev, "limited PHY to 100Mbit/s\n");
>  	}
>  
> -	/* 10BASE is not supported */
> -	phydev->supported &= ~PHY_10BT_FEATURES;
> +	/* Nether 10BASE nor half duplex is supported */

   Neither. s/is/are/?

> +	phydev->supported &= ~(PHY_10BT_FEATURES | SUPPORTED_100baseT_Half);

   I think you missed SUPPORTED_1000baseT_Half.

[garbage skipped]

MBR, Sergei

  reply	other threads:[~2018-07-19 15:16 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 [this message]
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
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=f7dad4b7-d1d6-3fcc-750d-deffc0e26717@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.