diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.h')
| -rw-r--r-- | drivers/s390/scsi/zfcp_fsf.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.h b/drivers/s390/scsi/zfcp_fsf.h index b3de682b64cf..519083fd6e89 100644 --- a/drivers/s390/scsi/zfcp_fsf.h +++ b/drivers/s390/scsi/zfcp_fsf.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Interface to the FSF support functions. | 4 | * Interface to the FSF support functions. |
| 5 | * | 5 | * |
| 6 | * Copyright IBM Corporation 2002, 2009 | 6 | * Copyright IBM Corporation 2002, 2010 |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #ifndef FSF_H | 9 | #ifndef FSF_H |
| @@ -152,7 +152,12 @@ | |||
| 152 | #define FSF_CLASS_3 0x00000003 | 152 | #define FSF_CLASS_3 0x00000003 |
| 153 | 153 | ||
| 154 | /* SBAL chaining */ | 154 | /* SBAL chaining */ |
| 155 | #define FSF_MAX_SBALS_PER_REQ 36 | 155 | #define ZFCP_FSF_MAX_SBALS_PER_REQ 36 |
| 156 | |||
| 157 | /* max. number of (data buffer) SBALEs in largest SBAL chain | ||
| 158 | * request ID + QTCB in SBALE 0 + 1 of first SBAL in chain */ | ||
| 159 | #define ZFCP_FSF_MAX_SBALES_PER_REQ \ | ||
| 160 | (ZFCP_FSF_MAX_SBALS_PER_REQ * ZFCP_QDIO_MAX_SBALES_PER_SBAL - 2) | ||
| 156 | 161 | ||
| 157 | /* logging space behind QTCB */ | 162 | /* logging space behind QTCB */ |
| 158 | #define FSF_QTCB_LOG_SIZE 1024 | 163 | #define FSF_QTCB_LOG_SIZE 1024 |
| @@ -361,7 +366,7 @@ struct fsf_qtcb_bottom_config { | |||
| 361 | u32 adapter_type; | 366 | u32 adapter_type; |
| 362 | u8 res0; | 367 | u8 res0; |
| 363 | u8 peer_d_id[3]; | 368 | u8 peer_d_id[3]; |
| 364 | u8 res1[2]; | 369 | u16 status_read_buf_num; |
| 365 | u16 timer_interval; | 370 | u16 timer_interval; |
| 366 | u8 res2[9]; | 371 | u8 res2[9]; |
| 367 | u8 s_id[3]; | 372 | u8 s_id[3]; |
