treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / ethernet / brocade / bna / cna.h
blob28d89d0c22976bccc2e81b023dcb74743ea32a72
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
12 #ifndef __CNA_H__
13 #define __CNA_H__
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>
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)
31 extern char bfa_version[];
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 */
37 #endif /* __CNA_H__ */