Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664596

Re: [net-next] net: phy: marvell: Show complete link partner advertising

From Tom Bogendoerfer <tsbogend@alpha.franken.de>
Newsgroups linux.kernel
Subject Re: [net-next] net: phy: marvell: Show complete link partner advertising
Date 2017-06-13 10:40 +0200
Message-ID <tRPwK-5EB-9@gated-at.bofh.it> (permalink)
References <tRxJw-2GO-17@gated-at.bofh.it> <tRA4J-4ju-75@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 12, 2017 at 09:05:04AM -0700, Florian Fainelli wrote:
> On 06/12/2017 05:54 AM, Thomas Bogendoerfer wrote:
> > From: Thomas Bogendoerfer <tbogendoerfer@suse.de>
> > 
> > Give back all modes advertised by the link partner. This change brings
> > the marvell phy driver in line with all other phy drivers.
> > 
> > Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
> 
> I thought Russell had a similar patch but I can't find it applied in
> net-next, so:
> 
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> 
> drivers/net/phy/lxt.c has a similar pattern that would be worth fixing too.

that's different and correct. The lpa value is not exported as lp_advertising,
but only used internal. Well the bug here is IMHO, that it doesn't
export lpa to lp_advertising at all as it's done in genphy_read_status().
And from a quick grep there are more phy drivers doing that...
I'll have a look later.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[net-next] net: phy: marvell: Show complete link partner advertising Thomas Bogendoerfer <tsbogend@alpha.franken.de> - 2017-06-12 15:40 +0200
  Re: [net-next] net: phy: marvell: Show complete link partner  advertising David Miller <davem@davemloft.net> - 2017-06-12 18:10 +0200
  Re: [net-next] net: phy: marvell: Show complete link partner  advertising Florian Fainelli <f.fainelli@gmail.com> - 2017-06-12 18:10 +0200
    Re: [net-next] net: phy: marvell: Show complete link partner  advertising Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-06-12 18:20 +0200
    Re: [net-next] net: phy: marvell: Show complete link partner  advertising Tom Bogendoerfer <tsbogend@alpha.franken.de> - 2017-06-13 10:40 +0200

csiph-web