aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_ext.h
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2008-06-10 12:20:54 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 09:22:25 -0400
commit24073b475d6d2bad8880434a16343ee1da816ea5 (patch)
tree27cf64817f5aa9020692b88366a46743b11db6d3 /drivers/s390/scsi/zfcp_ext.h
parent6362abd3e00d3161affad996fa53cc69a01fc6d1 (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.h12
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);
105extern int zfcp_fsf_req_complete(struct zfcp_fsf_req *); 105extern int zfcp_fsf_req_complete(struct zfcp_fsf_req *);
106extern void zfcp_fsf_incoming_els(struct zfcp_fsf_req *);
107extern void zfcp_fsf_req_free(struct zfcp_fsf_req *); 106extern void zfcp_fsf_req_free(struct zfcp_fsf_req *);
108extern struct zfcp_fsf_req *zfcp_fsf_send_fcp_command_task_management( 107extern 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 **************************************/
113extern void zfcp_fc_incoming_els(struct zfcp_fsf_req *);
114extern int zfcp_fc_ns_gid_pn_request(struct zfcp_erp_action *);
115extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *);
116extern void zfcp_test_link(struct zfcp_port *);
117
114extern int zfcp_nameserver_enqueue(struct zfcp_adapter *); 118extern int zfcp_nameserver_enqueue(struct zfcp_adapter *);
115extern int zfcp_ns_gid_pn_request(struct zfcp_erp_action *);
116extern int zfcp_check_ct_response(struct ct_hdr *);
117extern int zfcp_handle_els_rjt(u32, struct zfcp_ls_rjt_par *);
118extern void zfcp_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *);
119 119
120/******************************* SCSI ****************************************/ 120/******************************* SCSI ****************************************/
121extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); 121extern int zfcp_adapter_scsi_register(struct zfcp_adapter *);
@@ -158,8 +158,6 @@ extern int zfcp_erp_thread_kill(struct zfcp_adapter *);
158extern int zfcp_erp_wait(struct zfcp_adapter *); 158extern int zfcp_erp_wait(struct zfcp_adapter *);
159extern void zfcp_erp_async_handler(struct zfcp_erp_action *, unsigned long); 159extern void zfcp_erp_async_handler(struct zfcp_erp_action *, unsigned long);
160 160
161extern int zfcp_test_link(struct zfcp_port *);
162
163extern void zfcp_erp_port_boxed(struct zfcp_port *, u8 id, void *ref); 161extern void zfcp_erp_port_boxed(struct zfcp_port *, u8 id, void *ref);
164extern void zfcp_erp_unit_boxed(struct zfcp_unit *, u8 id, void *ref); 162extern void zfcp_erp_unit_boxed(struct zfcp_unit *, u8 id, void *ref);
165extern void zfcp_erp_port_access_denied(struct zfcp_port *, u8 id, void *ref); 163extern void zfcp_erp_port_access_denied(struct zfcp_port *, u8 id, void *ref);