mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 01:01:52 +00:00
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>
This commit is contained in:
parent
c4b160685f
commit
03a58baa78
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user