aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_main.c
diff options
context:
space:
mode:
authorAjit Khaparde <ajit.khaparde@emulex.com>2011-02-20 11:42:22 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-22 10:26:47 -0800
commit9e1453c5c5fe670bb98a6097b262122386b0d3fe (patch)
tree12a5c30448e26b98de86e8298961a6c0ed300f9a /drivers/net/benet/be_main.c
parent609ff3bb8f6cd38c68c719bbc3c31d6b0b9ce894 (diff)
downloadkernel_samsung_smdk4412-9e1453c5c5fe670bb98a6097b262122386b0d3fe.zip
kernel_samsung_smdk4412-9e1453c5c5fe670bb98a6097b262122386b0d3fe.tar.gz
kernel_samsung_smdk4412-9e1453c5c5fe670bb98a6097b262122386b0d3fe.tar.bz2
be2net: use hba_port_num instead of port_num
Use hba_port_num for phy loopback and ethtool phy identification. From: Suresh R <suresh.reddy@emulex.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_main.c')
-rw-r--r--drivers/net/benet/be_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index cd6fda7..0bdccb1 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -2868,6 +2868,10 @@ static int be_get_config(struct be_adapter *adapter)
else
adapter->max_vlans = BE_NUM_VLANS_SUPPORTED;
+ status = be_cmd_get_cntl_attributes(adapter);
+ if (status)
+ return status;
+
return 0;
}