
19 Apr
2011
19 Apr
'11
8:15 a.m.
Some low-end ColdFire chip such as 5208 need more io sync for FEC to work.
Signed-off-by: Jason Jin Jason.jin@freescale.com --- drivers/net/mcffec.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index a08ff27..666b24e 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -160,6 +160,8 @@ int fec_send(struct eth_device *dev, volatile void *packet, int length) info->txbd[info->txIdx].cbd_datlen = length; info->txbd[info->txIdx].cbd_sc |= BD_ENET_TX_RDY_LST;
+ __asm__("tpf"); + /* Activate transmit Buffer Descriptor polling */ fecp->tdar = 0x01000000; /* Descriptor polling active */
--
1.6.4