From 922d8237c7e2964046a92212b303d1145977957b Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Fri, 10 Feb 2012 18:06:27 +0100 Subject: 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 --- drivers/net/fec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') 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); -- cgit v1.2.3