sfc: Improve NIC internal error recovery
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 4 Mar 2009 10:01:57 +0000 (10:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2009 01:40:25 +0000 (17:40 -0800)
Make the error count a per-NIC variable.
Reset this the count after an hour if it has not reached the critical value.
Set the critical value back to 5.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c

Simple merge