Commit | Line | Data |
---|---|---|
8b230ed8 | 1 | /* |
2732ba56 | 2 | * Linux network driver for QLogic BR-series Converged Network Adapter. |
8b230ed8 RM |
3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | |
5 | * under the terms of the GNU General Public License (GPL) Version 2 as | |
6 | * published by the Free Software Foundation | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, but | |
9 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
11 | * General Public License for more details. | |
12 | */ | |
13 | /* | |
2732ba56 RM |
14 | * Copyright (c) 2006-2014 Brocade Communications Systems, Inc. |
15 | * Copyright (c) 2014-2015 QLogic Corporation | |
8b230ed8 | 16 | * All rights reserved |
2732ba56 | 17 | * www.qlogic.com |
8b230ed8 RM |
18 | */ |
19 | ||
20 | #ifndef __CNA_H__ | |
21 | #define __CNA_H__ | |
22 | ||
8b230ed8 RM |
23 | #include <linux/kernel.h> |
24 | #include <linux/types.h> | |
19dbff9f | 25 | #include <linux/mutex.h> |
8b230ed8 RM |
26 | #include <linux/pci.h> |
27 | #include <linux/delay.h> | |
28 | #include <linux/bitops.h> | |
29 | #include <linux/timer.h> | |
30 | #include <linux/interrupt.h> | |
19dbff9f | 31 | #include <linux/if_vlan.h> |
8b230ed8 | 32 | #include <linux/if_ether.h> |
8b230ed8 | 33 | |
ac51f60f | 34 | #define bfa_sm_fault(__event) do { \ |
19dbff9f RM |
35 | pr_err("SM Assertion failure: %s: %d: event = %d\n", \ |
36 | __FILE__, __LINE__, __event); \ | |
8b230ed8 RM |
37 | } while (0) |
38 | ||
39 | extern char bfa_version[]; | |
40 | ||
3f307c3d RM |
41 | #define CNA_FW_FILE_CT "ctfw-3.2.5.1.bin" |
42 | #define CNA_FW_FILE_CT2 "ct2fw-3.2.5.1.bin" | |
8b230ed8 RM |
43 | #define FC_SYMNAME_MAX 256 /*!< max name server symbolic name size */ |
44 | ||
8b230ed8 | 45 | #endif /* __CNA_H__ */ |