diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-20 06:42:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 13:26:47 -0500 |
commit | 9e1453c5c5fe670bb98a6097b262122386b0d3fe (patch) | |
tree | 12a5c30448e26b98de86e8298961a6c0ed300f9a /drivers/net/benet/be_main.c | |
parent | 609ff3bb8f6cd38c68c719bbc3c31d6b0b9ce894 (diff) |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index cd6fda776d8d..0bdccb10aac5 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) | |||
2868 | else | 2868 | else |
2869 | adapter->max_vlans = BE_NUM_VLANS_SUPPORTED; | 2869 | adapter->max_vlans = BE_NUM_VLANS_SUPPORTED; |
2870 | 2870 | ||
2871 | status = be_cmd_get_cntl_attributes(adapter); | ||
2872 | if (status) | ||
2873 | return status; | ||
2874 | |||
2871 | return 0; | 2875 | return 0; |
2872 | } | 2876 | } |
2873 | 2877 | ||