aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_cmds.c
diff options
context:
space:
mode:
authorAjit Khaparde <ajitk@serverengines.com>2010-07-22 22:04:54 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-23 15:42:46 -0400
commit3486be29e63a9e8b0b013a9581879d8a48790d20 (patch)
tree0b138b6b5db29132f65e3bf0d3e162774c7dd60e /drivers/net/benet/be_cmds.c
parent8943807c214535c079bd30469562d1126b70bc2a (diff)
be2net: variable name changes
This patch changes names of some variables. Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
-rw-r--r--drivers/net/benet/be_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index 45b6f9050342..6eaf8a3fa5ea 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -1258,7 +1258,7 @@ err:
1258} 1258}
1259 1259
1260/* Uses mbox */ 1260/* Uses mbox */
1261int be_cmd_query_fw_cfg(struct be_adapter *adapter, u32 *port_num, u32 *cap) 1261int be_cmd_query_fw_cfg(struct be_adapter *adapter, u32 *port_num, u32 *mode)
1262{ 1262{
1263 struct be_mcc_wrb *wrb; 1263 struct be_mcc_wrb *wrb;
1264 struct be_cmd_req_query_fw_cfg *req; 1264 struct be_cmd_req_query_fw_cfg *req;
@@ -1279,7 +1279,7 @@ int be_cmd_query_fw_cfg(struct be_adapter *adapter, u32 *port_num, u32 *cap)
1279 if (!status) { 1279 if (!status) {
1280 struct be_cmd_resp_query_fw_cfg *resp = embedded_payload(wrb); 1280 struct be_cmd_resp_query_fw_cfg *resp = embedded_payload(wrb);
1281 *port_num = le32_to_cpu(resp->phys_port); 1281 *port_num = le32_to_cpu(resp->phys_port);
1282 *cap = le32_to_cpu(resp->function_cap); 1282 *mode = le32_to_cpu(resp->function_mode);
1283 } 1283 }
1284 1284
1285 spin_unlock(&adapter->mbox_lock); 1285 spin_unlock(&adapter->mbox_lock);