]> git.baikalelectronics.ru Git - kernel.git/commit
enic: handle spurious error interrupt
authorGovindarajulu Varadarajan <_govind@gmx.com>
Thu, 1 Oct 2015 08:48:46 +0000 (14:18 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:51:33 +0000 (03:51 -0700)
commit20a1086f3b7bdf245f22eb54daf0c70e106244a8
tree98fc6e430ec08f04950db630083227be76641865
parent78b9053605d426a076b629ac9f6eca599c358c56
enic: handle spurious error interrupt

Some of the enic adaptors are know to generate spurious interrupts. When
error interrupt is generated, driver just resets the device. This patch
resets the device only when an error is occurred.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c