]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gianfar: Optimize interrupt coalescing configuration
authorDai Haruki <dai.haruki@freescale.com>
Tue, 16 Dec 2008 23:29:52 +0000 (15:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 23:29:52 +0000 (15:29 -0800)
commitb46a8454cd304b5376ba00d3457a612720e47269
treecf6a119d3903b519b9540585684ba1eb2ef130d6
parentb31a1d8b41513b96e9c7ec2f68c5734cef0b26a4
gianfar: Optimize interrupt coalescing configuration

Store the interrupt coalescing values in the form in which they will be
written to the interrupt coalescing registers.  This puts a little overhead
into the ethtool configuration, and takes it out of the interrupt handler

Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar.h
drivers/net/gianfar_ethtool.c