diff options
author | Suresh Reddy <suresh.reddy@emulex.com> | 2014-01-06 13:02:24 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-06 13:09:21 -0500 |
commit | 5eeff6354faffb3f140d690eec1cede78de53b06 (patch) | |
tree | c1bf0b7e7392326167e59235c787113624cc262e /drivers/net/ethernet/emulex/benet/be_main.c | |
parent | da1388d655292a11b5e9c011532e9ca83f77e1d3 (diff) | |
download | blackbird-op-linux-5eeff6354faffb3f140d690eec1cede78de53b06.tar.gz blackbird-op-linux-5eeff6354faffb3f140d690eec1cede78de53b06.zip |
be2net: increase the timeout value for loopback-test FW cmd
The loopback test FW cmd may need upto 15 seconds to complete on
certain PHYs. This patch also fixes the name of the completion variable
used to synchronize FW cmd completions as it not used by the flashing
cmd alone anymore.
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>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 6b774a5279af..fa44bba4f93b 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -4208,7 +4208,7 @@ static int be_ctrl_init(struct be_adapter *adapter) spin_lock_init(&adapter->mcc_lock); spin_lock_init(&adapter->mcc_cq_lock); - init_completion(&adapter->flash_compl); + init_completion(&adapter->et_cmd_compl); pci_save_state(adapter->pdev); return 0; |