]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
be2net: fix spurious interrupt handling in intx mode
authorSathya Perla <sathyap@serverengines.com>
Wed, 1 Jul 2009 01:06:07 +0000 (01:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 03:09:45 +0000 (20:09 -0700)
commitc001c213b109c8baeeb6d012b422bf059b18368f
treeeb9c551c9f84fe1a7fbaa8d15866200aa76e98f1
parent7d3cabbcc86f7f69c47cb20c23ee84350ae6cfbb
be2net: fix spurious interrupt handling in intx mode

Occasionally we may see an interrupt without an event in the eq.
In intx, we currently see the event queue and return IRQ_NONE causing
a the irq to be disabled ("no one cared".) Instead, read the CEV_ISR
reg to check the existence of the interrupt.

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_hw.h
drivers/net/benet/be_main.c