diff options
author | Andre Detsch <adetsch@br.ibm.com> | 2009-06-08 09:42:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-08 09:42:30 +0200 |
commit | ef681ce1e8b3e63317cd724c200b2fd39286c005 (patch) | |
tree | 95251ac5c80b2285fe6dc375e9f4ccbd3669c389 /drivers/platform | |
parent | net pkgen.c:fix no need for check (diff) | |
download | linux-ef681ce1e8b3e63317cd724c200b2fd39286c005.tar.xz linux-ef681ce1e8b3e63317cd724c200b2fd39286c005.zip |
e100: Fix napi_enable BUG_ON when recovering from EEH error
BUG_ON(!test_bit(NAPI_STATE_SCHED, &n->state)) was being hit
during e100 EEH recovery. The problem source was a napi_enable
call being made during e100_io_error_detected. Napi should remain
disabled after e100_down, and only be reenabled when the interface
is recovered.
This patch also updates e100_io_error_detected in order to make
it similar to the current versions of the error_detected callback
in drivers such as e1000e and ixgbe.
Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions