From: Armin <akuster@pacbell.net>
To: andrew may <acmay@acmay.homeip.net>
Cc: Stefan Roese <stefan.roese@esd-electronics.com>,
linuxppc-embedded@lists.linuxppc.org
Subject: Re: PPC405gp enet Soft Reset
Date: Fri, 08 Feb 2002 10:53:14 +0000 [thread overview]
Message-ID: <3C63AE1A.7000907@pacbell.net> (raw)
In-Reply-To: 20020208103557.A27732@ecam.san.rr.com
andrew may wrote:
> On Fri, Feb 08, 2002 at 11:03:59AM +0100, Stefan Roese wrote:
>
>>Andrew
>>
>>
>>>I seem to be having a problem with the soft reset of EMAC
>>>mode register when I have no ethernet connection to by phy.
>>>
>>We have the same problem (CPCI-405 with Intel LXT971 PHY).
>>
>
> It is good to see that the problem is known.
>
>
>>>After this code in init_ppc405_enet(void) the SRST bit does
>>>not clear until after I stick in a cable.
>>>
>>See Chapter 19.7.1 in PPC405GP User Manual (EMAC0_MR0):
>>
>
> The prelim hard copies I have been looking at failed to mention
> the clocks need to be active, but I did check the pdf and it is
> in there, so I guees I will try to look more at the soft copy these
> days.
>
>
>>It seems that we can't reset and setup the EMAC correctly without cable
>>connected (no cable == no PHY clock!). So what do we do when this occurs?
>>Disable the driver?
>>
>
> Your joking right? To do that is less than a 10 line hack, that I had to do
> to stop the driver from doing a panic or crashing, but I would not feel
> good about sending that as a patch. The driver needs to be able to handle
> this, but it will take some rework and it would be nice to know if there
> is really a reason to do the SoftReset before probing the phy.
>
>
>
>
Andrew & Stefan,
The softrest could probably be removed from the _init. its dup'd in _open.
--armin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-02-08 10:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-08 3:17 PPC405gp enet Soft Reset andrew may
2002-02-08 10:03 ` Stefan Roese
2002-02-08 18:35 ` andrew may
2002-02-08 10:53 ` Armin [this message]
2002-02-08 20:01 ` andrew may
2002-02-11 11:55 ` David Müller (ELSOFT AG)
2002-02-12 0:49 ` andrew may
2002-02-13 8:37 ` 405 MII-PHY communication problem (was: Re: PPC405gp enet Soft Reset) David Müller (ELSOFT AG)
2002-02-13 15:15 ` Stefan Roese
2002-02-19 12:05 ` David Müller (ELSOFT AG)
2002-02-19 12:21 ` Stefan Roese
2002-02-22 0:56 ` andrew may
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=3C63AE1A.7000907@pacbell.net \
--to=akuster@pacbell.net \
--cc=acmay@acmay.homeip.net \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=stefan.roese@esd-electronics.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 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).