]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: handle spurious error interrupt
authorSujith Sankar <ssujith@cisco.com>
Tue, 13 Oct 2015 10:02:31 +0000 (15:32 +0530)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 19 Oct 2015 20:39:10 +0000 (13:39 -0700)
commit00b266811d30963cb707e65019d4768e49118227
treef5b8cbdf0dd816503cf0e577755071e5e5eb00f0
parent968fa9a25e72068eed08e1fac2a166c89c6e941f
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