Skip to contentSkip to conversation

ColdFire: Fix FEC transmit issue for MCF5282

PATCH New Tsi-Chung Liew 2 participants 3 messages Aug 12, 2008 – Aug 14, 2008 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ColdFire: Fix FEC transmit issue for MCF5282

From: TsiChung Liew <[email protected]>

---
 drivers/net/mcffec.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
drivers/net/mcffec.c +3 -2
index 58ed5e3..5218ab6 100644
@@ -168,10 +168,11 @@ 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.
+	/*
+	 * FEC fix for MCF5275, FEC unable to initial transmit data packet.
 	 * A nop will ensure the descriptor polling active completed.
 	 */
-#ifdef CONFIG_M5275
+#if defined(CONFIG_M5275) || defined(CONFIG_M5282)
 	__asm__ ("nop");
 #endif
 
Signature · 1 line
1.5.6.4
#1 lore raw

PATCH 1/1 ColdFire: Fix FEC transmit issue for MCF5282

Ben,

Please ignore the following patch. I will send out a patch later
that will fix most of the platforms beside mcf5282.

Thanks!

Regards,
TsiChung

-----Original Message-----
From: Liew Tsi Chung
Sent: Tuesday, August 12, 2008 8:18 AM
To: U-Boot
Cc: Ben Warren; Rigby John; Liew Tsi Chung
Subject: [PATCH] ColdFire: Fix FEC transmit issue for MCF5282

From: TsiChung Liew <[email protected]>

---
 drivers/net/mcffec.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
drivers/net/mcffec.c index renamed from drivers/net/mcffec.c +0 -0

58ed5e3..5218ab6 100644

drivers/net/mcffec.c +0 -0
@@ -168,10 +168,11 @@ 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.
+ /*
+ * FEC fix for MCF5275, FEC unable to initial transmit data
packet.
* A nop will ensure the descriptor polling active completed. */
-#ifdef CONFIG_M5275
+#if defined(CONFIG_M5275) || defined(CONFIG_M5282)
__asm__ ("nop");
#endif

--
1.5.6.4

#2 lore raw

PATCH 1/1 ColdFire: Fix FEC transmit issue for MCF5282

Quoted 12 lines · Liew Tsi Chung

Ben,

Please ignore the following patch. I will send out a patch later
that will fix most of the platforms beside mcf5282.

Thanks!

Regards,
TsiChung

OK, consider it ignored.

regards,
Ben