diff options
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index 0578fa0dc14b..42969e8a45bd 100644 --- a/drivers/scsi/bnx2fc/bnx2fc.h +++ b/drivers/scsi/bnx2fc/bnx2fc.h | |||
@@ -59,6 +59,7 @@ | |||
59 | #include "57xx_hsi_bnx2fc.h" | 59 | #include "57xx_hsi_bnx2fc.h" |
60 | #include "bnx2fc_debug.h" | 60 | #include "bnx2fc_debug.h" |
61 | #include "../../net/ethernet/broadcom/cnic_if.h" | 61 | #include "../../net/ethernet/broadcom/cnic_if.h" |
62 | #include "../../net/ethernet/broadcom/bnx2x/bnx2x_mfw_req.h" | ||
62 | #include "bnx2fc_constants.h" | 63 | #include "bnx2fc_constants.h" |
63 | 64 | ||
64 | #define BNX2FC_NAME "bnx2fc" | 65 | #define BNX2FC_NAME "bnx2fc" |
@@ -84,6 +85,8 @@ | |||
84 | #define BNX2FC_NUM_MAX_SESS 1024 | 85 | #define BNX2FC_NUM_MAX_SESS 1024 |
85 | #define BNX2FC_NUM_MAX_SESS_LOG (ilog2(BNX2FC_NUM_MAX_SESS)) | 86 | #define BNX2FC_NUM_MAX_SESS_LOG (ilog2(BNX2FC_NUM_MAX_SESS)) |
86 | 87 | ||
88 | #define BNX2FC_MAX_NPIV 256 | ||
89 | |||
87 | #define BNX2FC_MAX_OUTSTANDING_CMNDS 2048 | 90 | #define BNX2FC_MAX_OUTSTANDING_CMNDS 2048 |
88 | #define BNX2FC_CAN_QUEUE BNX2FC_MAX_OUTSTANDING_CMNDS | 91 | #define BNX2FC_CAN_QUEUE BNX2FC_MAX_OUTSTANDING_CMNDS |
89 | #define BNX2FC_ELSTM_XIDS BNX2FC_CAN_QUEUE | 92 | #define BNX2FC_ELSTM_XIDS BNX2FC_CAN_QUEUE |
@@ -206,6 +209,7 @@ struct bnx2fc_hba { | |||
206 | struct fcoe_statistics_params *stats_buffer; | 209 | struct fcoe_statistics_params *stats_buffer; |
207 | dma_addr_t stats_buf_dma; | 210 | dma_addr_t stats_buf_dma; |
208 | struct completion stat_req_done; | 211 | struct completion stat_req_done; |
212 | struct fcoe_capabilities fcoe_cap; | ||
209 | 213 | ||
210 | /*destroy handling */ | 214 | /*destroy handling */ |
211 | struct timer_list destroy_timer; | 215 | struct timer_list destroy_timer; |