projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a2f41
)
ColdFire: Fix FEC transmit issue for MCF5275
author
Tsi-Chung Liew
<Tsi-Chung.Liew@freescale.com>
Mon, 17 Mar 2008 22:08:16 +0000
(17:08 -0500)
committer
Ben Warren
<biggerbadderben@gmail.com>
Sun, 30 Mar 2008 04:15:34 +0000
(
00:15
-0400)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/mcffec.c
patch
|
blob
|
history
diff --git
a/drivers/net/mcffec.c
b/drivers/net/mcffec.c
index 3b812585b76f58d83dd640e5493fd21a7dea4f4c..71d19608edeb8c93af200240126ee8197a546343 100644
(file)
--- a/
drivers/net/mcffec.c
+++ b/
drivers/net/mcffec.c
@@
-166,6
+166,13
@@
int fec_send(struct eth_device *dev, volatile void *packet, int length)
/* Activate transmit Buffer Descriptor polling */
fecp->tdar = 0x01000000; /* Descriptor polling active */
+ /* FEC fix for MCF5275, FEC unable to initial transmit data packet.
+ * A nop will ensure the descriptor polling active completed.
+ */
+#ifdef CONFIG_M5275
+ __asm__ ("nop");
+#endif
+
#ifdef CFG_UNIFY_CACHE
icache_invalid();
#endif