mv643xx_eth: rework interrupt coalescing, and export via ethtool
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Feb 2009 14:07:09 +0000 (14:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Feb 2009 07:43:54 +0000 (23:43 -0800)
This patch:
- increases the precision of the receive/transmit interrupt
  coalescing register value computations by using 64bit temporaries;
- adds functions to read the current hardware coalescing register
  values and convert them back to usecs;
- exports the {get,set} {rx,tx} coal methods via the standard
  ethtool coalescing interface.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c

Simple merge