aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/bnx2fc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h
index 42969e8a45bd..3486845ba301 100644
--- a/drivers/scsi/bnx2fc/bnx2fc.h
+++ b/drivers/scsi/bnx2fc/bnx2fc.h
@@ -11,6 +11,8 @@
11 * Written by: Bhanu Prakash Gollapudi (bprakash@broadcom.com) 11 * Written by: Bhanu Prakash Gollapudi (bprakash@broadcom.com)
12 */ 12 */
13 13
14#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
15
14#include <linux/module.h> 16#include <linux/module.h>
15#include <linux/moduleparam.h> 17#include <linux/moduleparam.h>
16#include <linux/kernel.h> 18#include <linux/kernel.h>
@@ -57,13 +59,12 @@
57#include <scsi/fc/fc_fcp.h> 59#include <scsi/fc/fc_fcp.h>
58 60
59#include "57xx_hsi_bnx2fc.h" 61#include "57xx_hsi_bnx2fc.h"
60#include "bnx2fc_debug.h"
61#include "../../net/ethernet/broadcom/cnic_if.h" 62#include "../../net/ethernet/broadcom/cnic_if.h"
62#include "../../net/ethernet/broadcom/bnx2x/bnx2x_mfw_req.h" 63#include "../../net/ethernet/broadcom/bnx2x/bnx2x_mfw_req.h"
63#include "bnx2fc_constants.h" 64#include "bnx2fc_constants.h"
64 65
65#define BNX2FC_NAME "bnx2fc" 66#define BNX2FC_NAME "bnx2fc"
66#define BNX2FC_VERSION "1.0.11" 67#define BNX2FC_VERSION "1.0.12"
67 68
68#define PFX "bnx2fc: " 69#define PFX "bnx2fc: "
69 70
@@ -278,6 +279,7 @@ struct bnx2fc_rport {
278#define BNX2FC_FLAG_CTX_ALLOC_FAILURE 0x6 279#define BNX2FC_FLAG_CTX_ALLOC_FAILURE 0x6
279#define BNX2FC_FLAG_UPLD_REQ_COMPL 0x7 280#define BNX2FC_FLAG_UPLD_REQ_COMPL 0x7
280#define BNX2FC_FLAG_EXPL_LOGO 0x8 281#define BNX2FC_FLAG_EXPL_LOGO 0x8
282#define BNX2FC_FLAG_DISABLE_FAILED 0x9
281 283
282 u8 src_addr[ETH_ALEN]; 284 u8 src_addr[ETH_ALEN];
283 u32 max_sqes; 285 u32 max_sqes;
@@ -558,4 +560,7 @@ void bnx2fc_process_seq_cleanup_compl(struct bnx2fc_cmd *seq_clnup_req,
558int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset, 560int bnx2fc_initiate_seq_cleanup(struct bnx2fc_cmd *orig_io_req, u32 offset,
559 enum fc_rctl r_ctl); 561 enum fc_rctl r_ctl);
560 562
563
564#include "bnx2fc_debug.h"
565
561#endif 566#endif