]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: set EQ DB clear-intr bit in be_open()
authorSuresh Reddy <Suresh.Reddy@emulex.com>
Fri, 11 Jul 2014 08:33:01 +0000 (14:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jul 2014 21:34:33 +0000 (14:34 -0700)
commita2531162608a565e021c7ab6ba95340c7ad80c81
tree2afe2f6ee11783a95b4bd5809e7ece2e712381e5
parent119a80ee1764b95769fe286bb2c04bdea9448d1c
be2net: set EQ DB clear-intr bit in be_open()

On BE3, if the clear-interrupt bit of the EQ doorbell is not set the first
time it is armed, ocassionally we have observed that the EQ doesn't raise
anymore interrupts even if it is in armed state.
This patch fixes this by setting the clear-interrupt bit when EQs are
armed for the first time in be_open().

Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c