diff options
author | Roopa Prabhu <roprabhu@cisco.com> | 2012-02-20 00:11:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-20 00:51:40 -0500 |
commit | b13423ee0cba4dc23ca21e61ca45f482d6713509 (patch) | |
tree | 6c6eb3f351970eb7479aabe36ac08d459e2d534c /drivers/net/ethernet/cisco/enic/enic_res.c | |
parent | 5277f7a6c2f322f11e8deed48530296d70bc5d5f (diff) | |
download | linux-b13423ee0cba4dc23ca21e61ca45f482d6713509.tar.gz linux-b13423ee0cba4dc23ca21e61ca45f482d6713509.tar.bz2 linux-b13423ee0cba4dc23ca21e61ca45f482d6713509.zip |
enic: rename CMD_MAC_ADDR to CMD_GET_MAC_ADDR
firmware devcmd CMD_MAC_ADDR gets the mac address of a vnic from adapter.
This patch renames it to CMD_GET_MAC_ADDR more appropriately.
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/enic_res.c')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/enic_res.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic_res.c b/drivers/net/ethernet/cisco/enic/enic_res.c index 4a35367de790..31d658880c3c 100644 --- a/drivers/net/ethernet/cisco/enic/enic_res.c +++ b/drivers/net/ethernet/cisco/enic/enic_res.c @@ -44,7 +44,7 @@ int enic_get_vnic_config(struct enic *enic) struct vnic_enet_config *c = &enic->config; int err; - err = vnic_dev_mac_addr(enic->vdev, enic->mac_addr); + err = vnic_dev_get_mac_addr(enic->vdev, enic->mac_addr); if (err) { dev_err(enic_get_dev(enic), "Error getting MAC addr, %d\n", err); |