]> 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)
commit743eb63f289188e7879302d45c6dc1caef5bfa1d
tree98fc6e430ec08f04950db630083227be76641865
parent90c5d2bf46208d4dc68000b5a7f094454bbe414a
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