From: David Miller <davem@davemloft.net>
To: andrew@lunn.ch
Cc: clemens.gruber@pqgruber.com, netdev@vger.kernel.org,
f.fainelli@gmail.com, linux-kernel@vger.kernel.org,
festevam@gmail.com
Subject: Re: [PATCH v3] phy: marvell: Fix and unify reg-init behavior
Date: Wed, 17 Feb 2016 16:21:16 -0500 (EST) [thread overview]
Message-ID: <20160217.162116.1569654379533423352.davem@davemloft.net> (raw)
In-Reply-To: <20160216152902.GA29482@lunn.ch>
From: Andrew Lunn <andrew@lunn.ch>
Date: Tue, 16 Feb 2016 16:29:02 +0100
> On Mon, Feb 15, 2016 at 11:46:45PM +0100, Clemens Gruber wrote:
>> For the Marvell 88E1510, marvell_of_reg_init was called too late, in the
>> config_aneg function.
>> Since commit 113c74d83eef ("net: phy: turn carrier off on phy attach"),
>> this lead to the link not coming up at boot anymore, due to the phy
>> state machine being stuck at waiting for interrupts (off by default on
>> the 88E1510).
>> For seven other Marvell PHYs, marvell_of_reg_init was not called at all.
>>
>> Add a generic marvell_config_init function, which in turn calls
>> marvell_of_reg_init.
>> PHYs, which already have a specific config_init function with a call to
>> marvell_of_reg_init, are left untouched. The generic marvell_config_init
>> function is called for all the others, to get consistent behavior across
>> all Marvell PHYs.
>>
>> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
>
> Hi Clemens
>
> Thanks for extending your original patch to make things more
> consistent.
>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> fixes: 113c74d83eef ("net: phy: turn carrier off on phy attach")
Applied, thanks.
BTW, "Fixes: " should be capitalized.
next prev parent reply other threads:[~2016-02-17 21:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 22:46 Clemens Gruber
2016-02-16 15:29 ` Andrew Lunn
2016-02-17 21:21 ` David Miller [this message]
2016-02-17 6:30 ` Florian Fainelli
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=20160217.162116.1569654379533423352.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@lunn.ch \
--cc=clemens.gruber@pqgruber.com \
--cc=f.fainelli@gmail.com \
--cc=festevam@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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
all inboxes | Powered by JetHome®