From: Auke Kok <auke-jan.h.kok@intel.com>
To: Anders Grafstrom <grfstrm@users.sourceforge.net>
Cc: Auke Kok <auke-jan.h.kok@intel.com>,
Francois Romieu <romieu@fr.zoreil.com>,
netdev@vger.kernel.org,
Jesse Brandeburg <jesse.brandeburg@intel.com>
Subject: Re: e100: Wait for PHY reset to complete?
Date: Wed, 25 Oct 2006 14:26:15 -0700 [thread overview]
Message-ID: <453FD677.7060405@intel.com> (raw)
In-Reply-To: <453FC693.10705@intel.com>
Auke Kok wrote:
> Francois Romieu wrote:
>> Anders Grafstrom <grfstrm@users.sourceforge.net> :
>> [...]
>>> I'm thinking something like this patch.
>>
>> I do not have the spec for the max duration at hand but it makes sense.
>>
>> Can you:
>> - decrease the duration of each sleep and increase the count of
>> iterations
>> - put the break on a line of its own
>> - add a Signed-off-by: Foo Bar <baz@nit.fol> line
>> - Cc: jeff@garzik.org and Auke Kok <auke-jan.h.kok@intel.com>
>
> I'm already checking out specs, which, for 8255x devices, are available
> on http://e1000.sf.net/ .
okay, I don't think this is needed at all:
Allthough the spec itself didn't talk about phy reset times, I've ran this patch with
some debugging output on a few boxes and did some speed/duplex settings, and the PHY
reset returned succesfull after the very first mdio_read, which is before any msleep(10)
is executed. That is also expected behaviour.
I think you might be confusing this with a MAC reset, which has a documented 10usec
timeout (see 8255x developers manual). The driver already adheres to this by doing a
20usec delay after software/selective resets.
which gets us back to the original problem: how did your driver end up in loopback mode?
(and, how did you figure out that it did??).
Cheers,
Auke
next prev parent reply other threads:[~2006-10-25 21:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-25 17:22 e100: Wait for PHY reset to complete? Anders Grafstrom
2006-10-25 18:56 ` Francois Romieu
2006-10-25 20:18 ` Auke Kok
2006-10-25 21:26 ` Auke Kok [this message]
2006-10-25 21:57 ` Francois Romieu
2006-10-25 23:36 ` Anders Grafström
2006-10-26 1:07 ` Auke Kok
2006-10-30 19:05 ` Auke Kok
2006-10-31 18:10 ` Anders Grafström
2006-10-31 18:34 ` Auke Kok
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=453FD677.7060405@intel.com \
--to=auke-jan.h.kok@intel.com \
--cc=grfstrm@users.sourceforge.net \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.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.