
From: TsiChung Liew Tsi-Chung.Liew@freescale.com
Signed-off-by: TsiChung Liew Tsi-Chung.Liew@freescale.com --- drivers/net/mcffec.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 58ed5e3..5218ab6 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -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