]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00255406 net: fec: Workaround tx hang due to TDAR bit cleared by uDMA
authorFugang Duan <B38611@freescale.com>
Wed, 27 Mar 2013 10:23:16 +0000 (18:23 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:59 +0000 (08:35 +0200)
commitca37a1b4c839fdeeaca5f1d22c953f9f3c66a888
treef2e9142d00992b2a0adb3a01662acd6af24e15f6
parent3b7457d9bbcc8e5de16dd703f048d9aeee5db972
ENGR00255406 net: fec: Workaround tx hang due to TDAR bit cleared by uDMA

MTIP enet IP have one IC issue recorded at PDM ticket:TKT168103

The issue description:
The TDAR bit after being set by software is not acted upon by the ENET
module due to the timing of when the ENET state machine clearing the
TDAR bit occurring coincident or momentarily after the software sets
the bit.

The result:
The corresponding transmit packet for an incoming ping is delayed.

Workaround:
This forces the ENET module to check the Transmit buffer descriptor
and take action if the “ready” flag is set. Otherwise the ENET module
returns to idle mode.

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/net/fec.c