summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Reddy <suresh.reddy@broadcom.com>2016-10-09 09:58:53 +0530
committerDavid S. Miller <davem@davemloft.net>2016-10-09 09:30:39 -0400
commitdc6e8511ff7141141578bac559565c55a1e14ad8 (patch)
tree0acb2fe1897a0bdd90ea467e80eee9500088eb11
parentf3d6ad84807254954fc69bdebb6123e5a2883baf (diff)
downloadlinux-dc6e8511ff7141141578bac559565c55a1e14ad8.tar.gz
linux-dc6e8511ff7141141578bac559565c55a1e14ad8.tar.bz2
linux-dc6e8511ff7141141578bac559565c55a1e14ad8.zip
be2net: Enable VF link state setting for BE3
The VF link state setting feature now works on BE3 chips too from FW ver 11.1.192.0 onwards. Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com> Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index 7e9be9f4236a..1fb5d7239254 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.c
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.c
@@ -4977,7 +4977,7 @@ int be_cmd_set_logical_link_config(struct be_adapter *adapter,
{
int status;
- if (BEx_chip(adapter))
+ if (BE2_chip(adapter))
return -EOPNOTSUPP;
status = __be_cmd_set_logical_link_config(adapter, link_state,