]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: enforce frequent hardware statistics polling
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 19 Sep 2008 03:04:57 +0000 (05:04 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Fri, 19 Sep 2008 03:13:54 +0000 (05:13 +0200)
commit4ff3495a51c7226376d8013c5742d1d5e54876a7
tree51b85dd78a89de6f57e9cc96e0de05347ab0eb41
parent4df89bd5a5fc33860f15f5f001a78f2b3f150725
mv643xx_eth: enforce frequent hardware statistics polling

If we don't poll the hardware statistics counters at least once every
~34 seconds, overflow might occur without us noticing.  So, set up a
timer to poll the statistics counters at least once every 30 seconds.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c