diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.h b/drivers/scsi/lpfc/lpfc_scsi.h index 9075a08cf781..21a2ffe67eac 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.h +++ b/drivers/scsi/lpfc/lpfc_scsi.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /******************************************************************* | 1 | /******************************************************************* |
2 | * This file is part of the Emulex Linux Device Driver for * | 2 | * This file is part of the Emulex Linux Device Driver for * |
3 | * Fibre Channel Host Bus Adapters. * | 3 | * Fibre Channel Host Bus Adapters. * |
4 | * Copyright (C) 2004-2006 Emulex. All rights reserved. * | 4 | * Copyright (C) 2004-2012 Emulex. All rights reserved. * |
5 | * EMULEX and SLI are trademarks of Emulex. * | 5 | * EMULEX and SLI are trademarks of Emulex. * |
6 | * www.emulex.com * | 6 | * www.emulex.com * |
7 | * * | 7 | * * |
@@ -150,9 +150,18 @@ struct lpfc_scsi_buf { | |||
150 | struct lpfc_iocbq cur_iocbq; | 150 | struct lpfc_iocbq cur_iocbq; |
151 | wait_queue_head_t *waitq; | 151 | wait_queue_head_t *waitq; |
152 | unsigned long start_time; | 152 | unsigned long start_time; |
153 | |||
154 | #ifdef CONFIG_SCSI_LPFC_DEBUG_FS | ||
155 | /* Used to restore any changes to protection data for error injection */ | ||
156 | void *prot_data_segment; | ||
157 | uint32_t prot_data; | ||
158 | uint32_t prot_data_type; | ||
159 | #define LPFC_INJERR_REFTAG 1 | ||
160 | #define LPFC_INJERR_APPTAG 2 | ||
161 | #define LPFC_INJERR_GUARD 3 | ||
162 | #endif | ||
153 | }; | 163 | }; |
154 | 164 | ||
155 | #define LPFC_SCSI_DMA_EXT_SIZE 264 | 165 | #define LPFC_SCSI_DMA_EXT_SIZE 264 |
156 | #define LPFC_BPL_SIZE 1024 | 166 | #define LPFC_BPL_SIZE 1024 |
157 | #define LPFC_RETRY_PAUSE 300 | ||
158 | #define MDAC_DIRECT_CMD 0x22 | 167 | #define MDAC_DIRECT_CMD 0x22 |