From: Mugunthan V N <mugunthanvnm@ti.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: <netdev@vger.kernel.org>
Subject: Re: cpsw fails to come up once in a while
Date: Thu, 15 Aug 2013 16:06:19 +0530 [thread overview]
Message-ID: <520CAF23.80500@ti.com> (raw)
In-Reply-To: <520CA9A1.4050205@linutronix.de>
On Thursday 15 August 2013 03:42 PM, Sebastian Andrzej Siewior wrote:
> On 08/15/2013 11:59 AM, Mugunthan V N wrote:
>> This is a unknown issue. Will arrange a setup to test this scenario and
>> fix the issue.
> Ah, cool. Once in this state I tried various things but nothing helped.
> I tried to reset the HW phy and see if this helped but it ended while I
> looking for schematics and I though maybe it is easier to ask first.
In AM335x EVM, you need to probe a wire if you need to reset phy manually.
>
> One think I noticed in __davinci_mdio_reset() is that
> data->access_time is set via usecs_to_jiffies() and then used by
> msleep(). Since msleep() expects ms and not jiffies, this is wrong.
>
Yeah, just reviewed that code and you are correct. No need to convert as
it is already in ms value.
Regards
Mugunthan V N
prev parent reply other threads:[~2013-08-15 10:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 17:54 cpsw fails to come up once in a while Sebastian Andrzej Siewior
2013-08-15 9:59 ` Mugunthan V N
2013-08-15 10:12 ` Sebastian Andrzej Siewior
2013-08-15 10:36 ` Mugunthan V N [this message]
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=520CAF23.80500@ti.com \
--to=mugunthanvnm@ti.com \
--cc=bigeasy@linutronix.de \
--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;
as well as URLs for NNTP newsgroup(s).