xref: /linux/drivers/net/ethernet/brocade/bna/cna.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Linux network driver for QLogic BR-series Converged Network Adapter.
4  */
5 /*
6  * Copyright (c) 2006-2014 Brocade Communications Systems, Inc.
7  * Copyright (c) 2014-2015 QLogic Corporation
8  * All rights reserved
9  * www.qlogic.com
10  */
11 
12 #ifndef __CNA_H__
13 #define __CNA_H__
14 
15 #include <linux/kernel.h>
16 #include <linux/types.h>
17 #include <linux/mutex.h>
18 #include <linux/pci.h>
19 #include <linux/delay.h>
20 #include <linux/bitops.h>
21 #include <linux/timer.h>
22 #include <linux/interrupt.h>
23 #include <linux/if_vlan.h>
24 #include <linux/if_ether.h>
25 
26 #define bfa_sm_fault(__event)    do {                            \
27 	pr_err("SM Assertion failure: %s: %d: event = %d\n",	\
28 		 __FILE__, __LINE__, __event);			\
29 } while (0)
30 
31 extern char bfa_version[];
32 
33 #define CNA_FW_FILE_CT	"ctfw-3.2.5.1.bin"
34 #define CNA_FW_FILE_CT2	"ct2fw-3.2.5.1.bin"
35 #define FC_SYMNAME_MAX	256	/*!< max name server symbolic name size */
36 
37 #endif /* __CNA_H__ */
38