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_ext.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_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index e47ab8d05b67..91d58843205c 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -103,7 +103,6 @@ extern int zfcp_fsf_send_fcp_command_task(struct zfcp_adapter *, | |||
103 | struct zfcp_unit *, | 103 | struct zfcp_unit *, |
104 | struct scsi_cmnd *, int, int); | 104 | struct scsi_cmnd *, int, int); |
105 | extern int zfcp_fsf_req_complete(struct zfcp_fsf_req *); | 105 | extern int zfcp_fsf_req_complete(struct zfcp_fsf_req *); |
106 | extern void zfcp_fsf_incoming_els(struct zfcp_fsf_req *); | ||
107 | extern void zfcp_fsf_req_free(struct zfcp_fsf_req *); | 106 | extern void zfcp_fsf_req_free(struct zfcp_fsf_req *); |
108 | extern struct zfcp_fsf_req *zfcp_fsf_send_fcp_command_task_management( | 107 | extern struct zfcp_fsf_req *zfcp_fsf_send_fcp_command_task_management( |
109 | struct zfcp_adapter *, struct zfcp_unit *, u8, int); | 108 | struct zfcp_adapter *, struct zfcp_unit *, u8, int); |
@@ -111,11 +110,12 @@ extern struct zfcp_fsf_req *zfcp_fsf_abort_fcp_command( | |||
111 | unsigned long, struct zfcp_adapter *, struct zfcp_unit *, int); | 110 | unsigned long, struct zfcp_adapter *, struct zfcp_unit *, int); |
112 | 111 | ||
113 | /******************************* FC/FCP **************************************/ | 112 | /******************************* FC/FCP **************************************/ |
113 | extern void zfcp_fc_incoming_els(struct zfcp_fsf_req *); | ||
114 | extern int zfcp_fc_ns_gid_pn_request(struct zfcp_erp_action *); | ||
115 | extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *); | ||
116 | extern void zfcp_test_link(struct zfcp_port *); | ||
117 | |||
114 | extern int zfcp_nameserver_enqueue(struct zfcp_adapter *); | 118 | extern int zfcp_nameserver_enqueue(struct zfcp_adapter *); |
115 | extern int zfcp_ns_gid_pn_request(struct zfcp_erp_action *); | ||
116 | extern int zfcp_check_ct_response(struct ct_hdr *); | ||
117 | extern int zfcp_handle_els_rjt(u32, struct zfcp_ls_rjt_par *); | ||
118 | extern void zfcp_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *); | ||
119 | 119 | ||
120 | /******************************* SCSI ****************************************/ | 120 | /******************************* SCSI ****************************************/ |
121 | extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); | 121 | extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); |
@@ -158,8 +158,6 @@ extern int zfcp_erp_thread_kill(struct zfcp_adapter *); | |||
158 | extern int zfcp_erp_wait(struct zfcp_adapter *); | 158 | extern int zfcp_erp_wait(struct zfcp_adapter *); |
159 | extern void zfcp_erp_async_handler(struct zfcp_erp_action *, unsigned long); | 159 | extern void zfcp_erp_async_handler(struct zfcp_erp_action *, unsigned long); |
160 | 160 | ||
161 | extern int zfcp_test_link(struct zfcp_port *); | ||
162 | |||
163 | extern void zfcp_erp_port_boxed(struct zfcp_port *, u8 id, void *ref); | 161 | extern void zfcp_erp_port_boxed(struct zfcp_port *, u8 id, void *ref); |
164 | extern void zfcp_erp_unit_boxed(struct zfcp_unit *, u8 id, void *ref); | 162 | extern void zfcp_erp_unit_boxed(struct zfcp_unit *, u8 id, void *ref); |
165 | extern void zfcp_erp_port_access_denied(struct zfcp_port *, u8 id, void *ref); | 163 | extern void zfcp_erp_port_access_denied(struct zfcp_port *, u8 id, void *ref); |