diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2009-08-18 09:43:22 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-05 09:49:32 -0400 |
commit | d5a282a1c5084ec7ebd9e6ab9723317f6b3fcd7b (patch) | |
tree | a215cde519ca65b129d35d8d435061b48ab3864c /drivers/s390/scsi/zfcp_ext.h | |
parent | 5771710bd5edfafcb8656f49b93690a6fae5a4d2 (diff) |
[SCSI] zfcp: introduce _setup, _destroy for qdio and FC
Extract independent data structures and introduce common _setup and
_destroy routines for QDIO and Fibre Channel related data structures
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index a49d00921b92..cf09b2838c50 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -100,7 +100,8 @@ extern void zfcp_fc_plogi_evaluate(struct zfcp_port *, struct fsf_plogi *); | |||
100 | extern void zfcp_test_link(struct zfcp_port *); | 100 | extern void zfcp_test_link(struct zfcp_port *); |
101 | extern void zfcp_fc_link_test_work(struct work_struct *); | 101 | extern void zfcp_fc_link_test_work(struct work_struct *); |
102 | extern void zfcp_fc_wka_ports_force_offline(struct zfcp_wka_ports *); | 102 | extern void zfcp_fc_wka_ports_force_offline(struct zfcp_wka_ports *); |
103 | extern void zfcp_fc_wka_ports_init(struct zfcp_adapter *); | 103 | extern int zfcp_fc_gs_setup(struct zfcp_adapter *); |
104 | extern void zfcp_fc_gs_destroy(struct zfcp_adapter *); | ||
104 | extern int zfcp_fc_execute_els_fc_job(struct fc_bsg_job *); | 105 | extern int zfcp_fc_execute_els_fc_job(struct fc_bsg_job *); |
105 | extern int zfcp_fc_execute_ct_fc_job(struct fc_bsg_job *); | 106 | extern int zfcp_fc_execute_ct_fc_job(struct fc_bsg_job *); |
106 | 107 | ||
@@ -134,8 +135,8 @@ extern struct zfcp_fsf_req *zfcp_fsf_abort_fcp_command(unsigned long, | |||
134 | extern void zfcp_fsf_reqid_check(struct zfcp_qdio *, int); | 135 | extern void zfcp_fsf_reqid_check(struct zfcp_qdio *, int); |
135 | 136 | ||
136 | /* zfcp_qdio.c */ | 137 | /* zfcp_qdio.c */ |
137 | extern int zfcp_qdio_allocate(struct zfcp_qdio *, struct ccw_device *); | 138 | extern int zfcp_qdio_setup(struct zfcp_adapter *); |
138 | extern void zfcp_qdio_free(struct zfcp_qdio *); | 139 | extern void zfcp_qdio_destroy(struct zfcp_qdio *); |
139 | extern int zfcp_qdio_send(struct zfcp_qdio *, struct zfcp_queue_req *); | 140 | extern int zfcp_qdio_send(struct zfcp_qdio *, struct zfcp_queue_req *); |
140 | extern struct qdio_buffer_element | 141 | extern struct qdio_buffer_element |
141 | *zfcp_qdio_sbale_req(struct zfcp_qdio *, struct zfcp_queue_req *); | 142 | *zfcp_qdio_sbale_req(struct zfcp_qdio *, struct zfcp_queue_req *); |