[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1807bad2-30dd-dcdc-320e-fc71bb0f3c0b@gmail.com>
Date: Mon, 28 Jan 2019 12:34:59 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Marek Behún <marek.behun@....cz>,
netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>, David Miller <davem@...emloft.net>
Subject: Re: [PATCH net-next v1 1/2] net: dsa: mv88e6xxx: Default CMODE to
1000BaseX only on 6390X
On 1/24/19 7:43 AM, Marek Behún wrote:
> Commit 787799a9d555 sets the SERDES interfaces of 6390 and 6390X to
> 1000BaseX, but this is only needed on 6390X, since there are SERDES
> interfaces which can be used on lower ports on 6390.
>
> This commit fixes this by returning to previous behaviour on 6390.
> (Previous behaviour means that CMODE is not set at all if requested mode
> is NA).
>
> This is needed on Turris MOX, where the 88e6190 is connected to CPU in
> 2500BaseX mode.
>
> Fixes: 787799a9d555 ("net: dsa: mv88e6xxx: Default ports 9/10 6390X CMODE to 1000BaseX")
> Signed-off-by: Marek Behún <marek.behun@....cz>
I suppose for now, this is the best way to approach that problem given
the shortcomings of the fixed link support in net/dsa/port.c:
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
Thanks!
--
Florian
Powered by blists - more mailing lists