From: Gerhard Jaeger <g.jaeger@sysgo.com>
To: linuxppc-embedded@ozlabs.org
Subject: [PATCH][PPC32] Fix gianfar netdriver oops when using bootp...
Date: Wed, 1 Dec 2004 17:07:14 +0100 [thread overview]
Message-ID: <200412011707.14693.g.jaeger@sysgo.com> (raw)
Hi,
this patch fixes an issue, that occurs on my MPC8541CDS, when trying to
use bootp to get the IP parameters. It seems, that the patch only cures
the symptom but obviously not the cause ;)
Signed-off-by: Gerhard Jaeger <gjaeger@sysgo.com>
--- linux-2.6.10-rc2-mm4/drivers/net/gianfar.c.orig 2004-11-15 02:26:34.000000000 +0100
+++ linux-2.6.10-rc2-mm4/drivers/net/gianfar.c 2004-12-01 17:00:19.000000000 +0100
@@ -1477,6 +1477,9 @@ static void gfar_phy_change(void *data)
struct gfar_private *priv = netdev_priv(dev);
int result = 0;
+ if( !priv->mii_info->phyinfo )
+ return;
+
/* Delay to give the PHY a chance to change the
* register state */
msleep(1);
next reply other threads:[~2004-12-01 16:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 16:07 Gerhard Jaeger [this message]
2004-12-01 22:19 ` [PATCH][PPC32] Fix gianfar netdriver oops when using bootp Kumar Gala
2004-12-02 8:07 ` Gerhard Jaeger
2004-12-02 8:14 ` Kumar Gala
2004-12-02 8:25 ` Gerhard Jaeger
2004-12-03 10:46 ` Gerhard Jaeger
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=200412011707.14693.g.jaeger@sysgo.com \
--to=g.jaeger@sysgo.com \
--cc=linuxppc-embedded@ozlabs.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).