summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2012-02-10 18:06:27 +0100
committerHector Palacios <hector.palacios@digi.com>2012-02-10 18:07:50 +0100
commit922d8237c7e2964046a92212b303d1145977957b (patch)
tree51b8f619f38142b5856b9731383bbea70d692b90 /drivers
parentd1115587d7a251d0c191e01e1f47bf5650257fab (diff)
net/fec: do not reset multicast tables for digi platforms
This code was not executed for mx51 but it was executed on mx53, preventing this platform from being discovered by ADDP. This fixes vantive 42101. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index e7be0e5cad05..b06b34b7021b 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1318,7 +1318,7 @@ fec_restart(struct net_device *dev, int duplex)
/* Clear any outstanding interrupt. */
writel(0xffc00000, fep->hwp + FEC_IEVENT);
-#if !defined(CONFIG_MACH_CCMX51JS) && !defined(CONFIG_MACH_CCWMX51JS)
+#if !defined(CONFIG_MODULE_CCXMX5X)
/* Reset all multicast. */
writel(0, fep->hwp + FEC_GRP_HASH_TABLE_HIGH);
writel(0, fep->hwp + FEC_GRP_HASH_TABLE_LOW);
@@ -1326,7 +1326,7 @@ fec_restart(struct net_device *dev, int duplex)
writel(0, fep->hwp + FEC_HASH_TABLE_HIGH);
writel(0, fep->hwp + FEC_HASH_TABLE_LOW);
#endif
-#endif /* !defined(CONFIG_MACH_CCMX51JS) && !defined(CONFIG_MACH_CCWMX51JS) */
+#endif /* !defined(MODULE_CCXMX5X) */
/* Set maximum receive buffer size. */
writel(PKT_MAXBLR_SIZE, fep->hwp + FEC_R_BUFF_SIZE);