summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
diff options
context:
space:
mode:
authorRoopa Prabhu <roprabhu@cisco.com>2012-02-20 00:11:53 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-20 00:51:41 -0500
commitd6c81bc6dca768dff1a3f127beee11e8102669a7 (patch)
tree07b460d1183353aa27620a86180c3cffaeea77f1 /drivers/net/ethernet/cisco/enic/vnic_devcmd.h
parentb13423ee0cba4dc23ca21e61ca45f482d6713509 (diff)
downloadlinux-d6c81bc6dca768dff1a3f127beee11e8102669a7.tar.bz2
enic: Add new fw devcmd to set mac address of an interface
This patch adds a new devcmd CMD_SET_MAC_ADDR to set the mac address of an interface. 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/vnic_devcmd.h')
-rw-r--r--drivers/net/ethernet/cisco/enic/vnic_devcmd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cisco/enic/vnic_devcmd.h b/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
index 8a58dea2fa01..23d555255cf8 100644
--- a/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
+++ b/drivers/net/ethernet/cisco/enic/vnic_devcmd.h
@@ -337,6 +337,15 @@ enum vnic_devcmd_cmd {
* (u32)a2 = maximum timer value in usec
*/
CMD_INTR_COAL_CONVERT = _CMDC(_CMD_DIR_READ, _CMD_VTYPE_ALL, 50),
+
+ /*
+ * cmd_set_mac_addr
+ * set mac address
+ * in:
+ * (u48)a0 = mac addr
+ *
+ */
+ CMD_SET_MAC_ADDR = _CMDC(_CMD_DIR_WRITE, _CMD_VTYPE_ENET, 55),
};
/* CMD_ENABLE2 flags */