diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2008-06-10 12:20:54 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:25 -0400 |
commit | 24073b475d6d2bad8880434a16343ee1da816ea5 (patch) | |
tree | 27cf64817f5aa9020692b88366a46743b11db6d3 /drivers/s390/scsi/zfcp_def.h | |
parent | 6362abd3e00d3161affad996fa53cc69a01fc6d1 (diff) |
[SCSI] zfcp: Move FC code to new file
Move all Fibre Channel related code to new file and cleanup the code
while doing so.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index fc61a8ed52d3..d23c3b9b283e 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -223,9 +223,9 @@ struct fcp_rsp_iu { | |||
223 | #define RSP_CODE_TASKMAN_FAILED 5 | 223 | #define RSP_CODE_TASKMAN_FAILED 5 |
224 | 224 | ||
225 | /* see fc-fs */ | 225 | /* see fc-fs */ |
226 | #define LS_RSCN 0x61040000 | 226 | #define LS_RSCN 0x61 |
227 | #define LS_LOGO 0x05000000 | 227 | #define LS_LOGO 0x05 |
228 | #define LS_PLOGI 0x03000000 | 228 | #define LS_PLOGI 0x03 |
229 | 229 | ||
230 | struct fcp_rscn_head { | 230 | struct fcp_rscn_head { |
231 | u8 command; | 231 | u8 command; |
@@ -622,7 +622,6 @@ typedef void (*zfcp_send_ct_handler_t)(unsigned long); | |||
622 | * @resp_count: number of elements in response scatter-gather list | 622 | * @resp_count: number of elements in response scatter-gather list |
623 | * @handler: handler function (called for response to the request) | 623 | * @handler: handler function (called for response to the request) |
624 | * @handler_data: data passed to handler function | 624 | * @handler_data: data passed to handler function |
625 | * @pool: pointer to memory pool for ct request structure | ||
626 | * @timeout: FSF timeout for this request | 625 | * @timeout: FSF timeout for this request |
627 | * @completion: completion for synchronization purposes | 626 | * @completion: completion for synchronization purposes |
628 | * @status: used to pass error status to calling function | 627 | * @status: used to pass error status to calling function |
@@ -635,7 +634,6 @@ struct zfcp_send_ct { | |||
635 | unsigned int resp_count; | 634 | unsigned int resp_count; |
636 | zfcp_send_ct_handler_t handler; | 635 | zfcp_send_ct_handler_t handler; |
637 | unsigned long handler_data; | 636 | unsigned long handler_data; |
638 | mempool_t *pool; | ||
639 | int timeout; | 637 | int timeout; |
640 | struct completion *completion; | 638 | struct completion *completion; |
641 | int status; | 639 | int status; |