[PATCH] ucc_geth: fix ucc halt problem in half duplex mode
David Miller
davem at davemloft.net
Mon Nov 29 13:37:26 EST 2010
From: Li Yang <leoli at freescale.com>
Date: Fri, 26 Nov 2010 17:29:58 +0800
> In commit 58933c64(ucc_geth: Fix the wrong the Rx/Tx FIFO size),
> the UCC_GETH_UTFTT_INIT is set to 512 based on the recommendation
> of the QE Reference Manual. But that will sometimes cause tx halt
> while working in half duplex mode.
>
> According to errata draft QE_GENERAL-A003(High Tx Virtual FIFO
> threshold size can cause UCC to halt), setting UTFTT less than
> [(UTFS x (M - 8)/M) - 128] will prevent this from happening
> (M is the minimum buffer size).
>
> The patch changes UTFTT back to 256.
>
> Signed-off-by: Li Yang <leoli at freescale.com>
> Cc: Jean-Denis Boyer <jdboyer at media5corp.com>
> Cc: Andreas Schmitz <Andreas.Schmitz at riedel.net>
> Cc: Anton Vorontsov <avorontsov at ru.mvista.com>
Applied, thank you.
More information about the Linuxppc-dev
mailing list