From: andrew may <acmay@acmay•homeip.net>
To: Stefan Roese <stefan.roese@esd-electronics•com>
Cc: linuxppc-embedded@lists•linuxppc.org, Armin <akuster@pacbell•net>
Subject: Re: PPC405gp enet Soft Reset
Date: Fri, 8 Feb 2002 10:35:57 -0800 [thread overview]
Message-ID: <20020208103557.A27732@ecam.san.rr.com> (raw)
In-Reply-To: <EFEAIMDCOOOHIEPHDNFJOEJBDKAA.stefan.roese@esd-electronics.com>
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.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-02-08 18:35 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 [this message]
2002-02-08 10:53 ` Armin
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=20020208103557.A27732@ecam.san.rr.com \
--to=acmay@acmay$(echo .)homeip.net \
--cc=akuster@pacbell$(echo .)net \
--cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
--cc=stefan.roese@esd-electronics$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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