diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2015-01-20 03:51:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-24 17:22:42 -0800 |
commit | 9a6d73d9f297fd1bf7514bf2b1dc2f4b48c638b9 (patch) | |
tree | 255e3b62505f78febaaed321c3b5a3930129400e /drivers | |
parent | e673244af1b32c6ffb5c886f841321b98cbbcc9b (diff) |
be2net: issue function reset cmd in resume path
The Lancer FW is picky about requiring a function reset FW cmd as a part
of the initialization sequence.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index f5ac35ccc57e..0b0482b4606d 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -5071,6 +5071,10 @@ static int be_resume(struct pci_dev *pdev) if (status) return status; + status = be_cmd_reset_function(adapter); + if (status) + return status; + be_intr_set(adapter, true); /* tell fw we're ready to fire cmds */ status = be_cmd_fw_init(adapter); |