summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cisco/enic/enic.h
diff options
context:
space:
mode:
authorNeel Patel <neepatel@cisco.com>2013-08-17 02:47:40 +0400
committerDavid S. Miller <davem@davemloft.net>2013-08-21 00:41:01 +0400
commit0b038566c0ea9f8daceae879bb7ad748ab8c95f0 (patch)
tree6c841a5be391190b81647600269d0aece942e995 /drivers/net/ethernet/cisco/enic/enic.h
parent92e2b4696202934b4cbf1d6b8fb8729e8d7202e1 (diff)
downloadlinux-0b038566c0ea9f8daceae879bb7ad748ab8c95f0.tar.xz
drivers/net: enic: Add an interface for USNIC to interact with firmware
This patch adds an interface for USNIC to proxy firmware commands through ENIC. Signed-off-by: Neel Patel <neepatel@cisco.com> Signed-off-by: Nishank Trivedi <nistrive@cisco.com> Signed-off-by: Christian Benvenuti <benve@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/enic.h')
-rw-r--r--drivers/net/ethernet/cisco/enic/enic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic.h b/drivers/net/ethernet/cisco/enic/enic.h
index 75e842d6cfe7..cacca29a7efc 100644
--- a/drivers/net/ethernet/cisco/enic/enic.h
+++ b/drivers/net/ethernet/cisco/enic/enic.h
@@ -96,6 +96,7 @@ struct enic {
#ifdef CONFIG_PCI_IOV
u16 num_vfs;
#endif
+ spinlock_t enic_api_lock;
struct enic_port_profile *pp;
/* work queue cache line section */