* [U-Boot-Users] [PATCH] tsec.c patch for receiver reset
@ 2007-09-28 17:24 Dan Wilson
2007-09-28 20:28 ` Wolfgang Denk
2007-10-19 16:34 ` Andy Fleming
0 siblings, 2 replies; 3+ messages in thread
From: Dan Wilson @ 2007-09-28 17:24 UTC (permalink / raw)
To: u-boot
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);
}
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] [PATCH] tsec.c patch for receiver reset
2007-09-28 17:24 [U-Boot-Users] [PATCH] tsec.c patch for receiver reset Dan Wilson
@ 2007-09-28 20:28 ` Wolfgang Denk
2007-10-19 16:34 ` Andy Fleming
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2007-09-28 20:28 UTC (permalink / raw)
To: u-boot
In message <46FD38C1.3000205@fulcrummicro.com> you wrote:
> 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);
> }
Please indent by TABs, not spaces...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
They say a little knowledge is a dangerous thing, but it is not one
half so bad as a lot of ignorance. - Terry Pratchett, _Equal Rites_
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] tsec.c patch for receiver reset
2007-09-28 17:24 [U-Boot-Users] [PATCH] tsec.c patch for receiver reset Dan Wilson
2007-09-28 20:28 ` Wolfgang Denk
@ 2007-10-19 16:34 ` Andy Fleming
1 sibling, 0 replies; 3+ messages in thread
From: Andy Fleming @ 2007-10-19 16:34 UTC (permalink / raw)
To: u-boot
On 9/28/07, Dan Wilson <dwilson@fulcrummicro.com> wrote:
> 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.
I munged this patch into applicability and applied it, thanks!
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-19 16:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 17:24 [U-Boot-Users] [PATCH] tsec.c patch for receiver reset Dan Wilson
2007-09-28 20:28 ` Wolfgang Denk
2007-10-19 16:34 ` Andy Fleming
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.