diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2014-05-13 14:03:11 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-14 15:36:39 -0400 |
commit | 03a58baa785f48a85126ab043a14cb80b7e670e0 (patch) | |
tree | 120a85fc1ea2660d06ef7fa7e4f3840abf6da236 | |
parent | c4b160685fc85e41fe8c08478cc61f4877d26973 (diff) | |
download | blackbird-op-linux-03a58baa785f48a85126ab043a14cb80b7e670e0.tar.gz blackbird-op-linux-03a58baa785f48a85126ab043a14cb80b7e670e0.zip |
be2net: enable interrupts in EEH resume
On some BE3 FW versions, after a HW reset, interrupts will remain disabled
for each function. So, explicitly enable the interrupts in the eeh_resume
handler, else after an eeh recovery interrupts wouldn't work.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index a18645407d21..dc19bc5dec77 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -4949,6 +4949,12 @@ static void be_eeh_resume(struct pci_dev *pdev) if (status) goto err; + /* On some BE3 FW versions, after a HW reset, + * interrupts will remain disabled for each function. + * So, explicitly enable interrupts + */ + be_intr_set(adapter, true); + /* tell fw we're ready to fire cmds */ status = be_cmd_fw_init(adapter); if (status) |