]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: Fix Rx/Tx HW interrupt coalescing counter reset procedure.
authorAndy Fleming <afleming@freescale.com>
Mon, 24 Mar 2008 15:53:28 +0000 (10:53 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 04:44:47 +0000 (00:44 -0400)
commit974aae3df530edf60fc69104004223b8722f60eb
treed91605f48735267a9c827ad1b7c1cc1324c2992d
parentce629a696a88cdf7b9215179a675e87c68a5cc25
gianfar: Fix Rx/Tx HW interrupt coalescing counter reset procedure.

- Fix Rx/Tx HW interrupt coalescing counter reset logic. Disabling
is required before resetting the counter.

- Update the Default both Rx and Tx coalescing timer
threshold. Formerly 4 is set which is equal to 1.5 frame at the line
rate of 1GbE interface, and it doesn't match to the coalescing frame
count which is set to 16. Threashold 21 is matched to frame count 16.

Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/gianfar.c
drivers/net/gianfar.h