diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2010-07-23 02:04:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-23 12:42:46 -0700 |
commit | 3486be29e63a9e8b0b013a9581879d8a48790d20 (patch) | |
tree | 0b138b6b5db29132f65e3bf0d3e162774c7dd60e /drivers/net/benet/be_cmds.c | |
parent | 8943807c214535c079bd30469562d1126b70bc2a (diff) | |
download | op-kernel-dev-3486be29e63a9e8b0b013a9581879d8a48790d20.zip op-kernel-dev-3486be29e63a9e8b0b013a9581879d8a48790d20.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index 45b6f90..6eaf8a3 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -1258,7 +1258,7 @@ err: } /* Uses mbox */ -int be_cmd_query_fw_cfg(struct be_adapter *adapter, u32 *port_num, u32 *cap) +int be_cmd_query_fw_cfg(struct be_adapter *adapter, u32 *port_num, u32 *mode) { struct be_mcc_wrb *wrb; 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) if (!status) { struct be_cmd_resp_query_fw_cfg *resp = embedded_payload(wrb); *port_num = le32_to_cpu(resp->phys_port); - *cap = le32_to_cpu(resp->function_cap); + *mode = le32_to_cpu(resp->function_mode); } spin_unlock(&adapter->mbox_lock); |