|
@@ -2235,6 +2235,7 @@ static int mv643xx_eth_open(struct net_device *dev)
|
|
|
mp->int_mask |= INT_TX_END_0 << i;
|
|
|
}
|
|
|
|
|
|
+ add_timer(&mp->mib_counters_timer);
|
|
|
port_start(mp);
|
|
|
|
|
|
wrlp(mp, INT_MASK_EXT, INT_EXT_LINK_PHY | INT_EXT_TX);
|
|
@@ -2914,7 +2915,6 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
|
|
|
mp->mib_counters_timer.data = (unsigned long)mp;
|
|
|
mp->mib_counters_timer.function = mib_counters_timer_wrapper;
|
|
|
mp->mib_counters_timer.expires = jiffies + 30 * HZ;
|
|
|
- add_timer(&mp->mib_counters_timer);
|
|
|
|
|
|
spin_lock_init(&mp->mib_counters_lock);
|
|
|
|