summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 46f5364774e8..58e9089d8675 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -610,11 +610,8 @@ fec_restart(struct net_device *ndev, int duplex)
ecntl |= (1 << 4);
#ifndef CONFIG_M5272
- /* Disable, clear, and enable the MIB */
- writel(1 << 31, fep->hwp + FEC_MIB_CTRLSTAT);
- for (i = RMON_T_DROP; i < IEEE_R_OCTETS_OK; i++)
- writel(0, fep->hwp + i);
- writel(0, fep->hwp + FEC_MIB_CTRLSTAT);
+ /* Enable the MIB statistic event counters */
+ writel(0 << 31, fep->hwp + FEC_MIB_CTRLSTAT);
#endif
/* And last, enable the transmit and receive processing */