aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2009-10-10 13:46:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-11 23:30:14 -0700
commit993ac7b5183f82edc9696cd17faae03523e00e09 (patch)
treeb57561971c47a3529d646389dc58b9ec890543d4 /drivers/net/bnx2x.h
parentbnx2x: Add hw init code to support iSCSI. (diff)
downloadlinux-dev-993ac7b5183f82edc9696cd17faae03523e00e09.tar.xz
linux-dev-993ac7b5183f82edc9696cd17faae03523e00e09.zip
bnx2x: Add main CNIC interface functions.
Add the main CNIC registration, callback, MAC addr. setup functions. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Shmulik Ravid - Rabinovitz <shmulikr@broadcom.com> Acked-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index e94ce8370253..60fa14f31d73 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -24,6 +24,10 @@
#define BCM_VLAN 1
#endif
+#if defined(CONFIG_CNIC) || defined(CONFIG_CNIC_MODULE)
+#define BCM_CNIC 1
+#include "cnic_if.h"
+#endif
#define BNX2X_MULTI_QUEUE