diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-20 11:42:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 10:26:47 -0800 |
commit | 9e1453c5c5fe670bb98a6097b262122386b0d3fe (patch) | |
tree | 12a5c30448e26b98de86e8298961a6c0ed300f9a /drivers/net/benet/be_main.c | |
parent | 609ff3bb8f6cd38c68c719bbc3c31d6b0b9ce894 (diff) | |
download | op-kernel-dev-9e1453c5c5fe670bb98a6097b262122386b0d3fe.zip op-kernel-dev-9e1453c5c5fe670bb98a6097b262122386b0d3fe.tar.gz |
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 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; } |