Michael Chan wrote:
@@ -3906,6 +3923,11 @@ bnx2_open(struct net_device *dev)
return rc;
}
+ init_timer(&bp->timer);
+ bp->timer.expires = RUN_AT(bp->timer_interval);
+ bp->timer.data = (unsigned long) bp;
+ bp->timer.function = bnx2_timer;
+
rc = bnx2_init_nic(bp);
if (rc) {
The above code should occur at struct bnx2 initialization time, not at
every dev->open().
Otherwise, OK.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html