From: Dan Wilson <dwilson@fulcrummicro.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] tsec.c patch for receiver reset
Date: Fri, 28 Sep 2007 10:24:17 -0700 [thread overview]
Message-ID: <46FD38C1.3000205@fulcrummicro.com> (raw)
When we upgraded from u-boot 1.1.6 to 1.2.0, we found that ethernet no
longer worked reliably on our 8541-based platforms, although for some
reason 8548-based systems seemed to work fine. The problem was traced
to a missing assignment in function startup_tsec. We have tried this
patch on all of our 8541 and 8548-based boards, and it has resolved the
problem for us.
Any comments or suggestions are greatly appreciated.
Signed-off by: Alain Gravel <agravel@fulcrummicro.com>
Signed-off by: Dan Wilson <dwilson@fulcrummicro.com>
====================================================
--- u-boot.git/drivers/tsec.c
+++ fulcrum/drivers/tsec.c
@@ -803,6 +803,7 @@
/* Tell the DMA it is clear to go */
regs->dmactrl |= DMACTRL_INIT_SETTINGS;
regs->tstat = TSTAT_CLEAR_THALT;
+ regs->rstat = RSTAT_CLEAR_RHALT;
regs->dmactrl &= ~(DMACTRL_GRS | DMACTRL_GTS);
}
next reply other threads:[~2007-09-28 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 17:24 Dan Wilson [this message]
2007-09-28 20:28 ` [U-Boot-Users] [PATCH] tsec.c patch for receiver reset Wolfgang Denk
2007-10-19 16:34 ` Andy Fleming
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=46FD38C1.3000205@fulcrummicro.com \
--to=dwilson@fulcrummicro.com \
--cc=u-boot@lists.denx.de \
/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.