aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_ext.h
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-06-10 12:20:57 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 09:22:25 -0400
commit00bab91066a49468bfa4f6d5c8ad5e9ec53b7ea3 (patch)
treea5ce7bfe5ad290c339f669b3596b75f5238157c6 /drivers/s390/scsi/zfcp_ext.h
parentfa04c2816883a49ec518514f6c19767d54be20b5 (diff)
[SCSI] zfcp: Cleanup qdio code
Cleanup the interface code from zfcp to qdio. Also move code that belongs to the qdio interface from the erp to the qdio file. 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@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r--drivers/s390/scsi/zfcp_ext.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h
index 867972898cb1..6ffe2068ba8a 100644
--- a/drivers/s390/scsi/zfcp_ext.h
+++ b/drivers/s390/scsi/zfcp_ext.h
@@ -57,21 +57,17 @@ extern int zfcp_ccw_register(void);
57 57
58extern void zfcp_qdio_zero_sbals(struct qdio_buffer **, int, int); 58extern void zfcp_qdio_zero_sbals(struct qdio_buffer **, int, int);
59extern int zfcp_qdio_allocate(struct zfcp_adapter *); 59extern int zfcp_qdio_allocate(struct zfcp_adapter *);
60extern int zfcp_qdio_allocate_queues(struct zfcp_adapter *); 60extern void zfcp_qdio_free(struct zfcp_adapter *);
61extern void zfcp_qdio_free_queues(struct zfcp_adapter *); 61extern int zfcp_qdio_send(struct zfcp_fsf_req *fsf_req);
62extern int zfcp_qdio_determine_pci(struct zfcp_qdio_queue *,
63 struct zfcp_fsf_req *);
64 62
65extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_req 63extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_req
66 (struct zfcp_fsf_req *, int, int); 64 (struct zfcp_fsf_req *);
67extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_curr 65extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_curr
68 (struct zfcp_fsf_req *); 66 (struct zfcp_fsf_req *);
69extern int zfcp_qdio_sbals_from_sg 67extern int zfcp_qdio_sbals_from_sg
70 (struct zfcp_fsf_req *, unsigned long, struct scatterlist *, int, int); 68 (struct zfcp_fsf_req *, unsigned long, struct scatterlist *, int);
71extern int zfcp_qdio_sbals_from_scsicmnd 69extern int zfcp_qdio_open(struct zfcp_adapter *adapter);
72 (struct zfcp_fsf_req *, unsigned long, struct scsi_cmnd *); 70extern void zfcp_qdio_close(struct zfcp_adapter *adapter);
73
74
75/******************************** FSF ****************************************/ 71/******************************** FSF ****************************************/
76extern int zfcp_fsf_open_port(struct zfcp_erp_action *); 72extern int zfcp_fsf_open_port(struct zfcp_erp_action *);
77extern int zfcp_fsf_close_port(struct zfcp_erp_action *); 73extern int zfcp_fsf_close_port(struct zfcp_erp_action *);
@@ -95,7 +91,7 @@ extern int zfcp_fsf_status_read(struct zfcp_adapter *, int);
95extern int zfcp_status_read_refill(struct zfcp_adapter *adapter); 91extern int zfcp_status_read_refill(struct zfcp_adapter *adapter);
96extern int zfcp_fsf_req_create(struct zfcp_adapter *, u32, int, mempool_t *, 92extern int zfcp_fsf_req_create(struct zfcp_adapter *, u32, int, mempool_t *,
97 unsigned long *, struct zfcp_fsf_req **) 93 unsigned long *, struct zfcp_fsf_req **)
98 __acquires(adapter->request_queue.queue_lock); 94 __acquires(adapter->req_q.lock);
99extern int zfcp_fsf_send_ct(struct zfcp_send_ct *, mempool_t *, 95extern int zfcp_fsf_send_ct(struct zfcp_send_ct *, mempool_t *,
100 struct zfcp_erp_action *); 96 struct zfcp_erp_action *);
101extern int zfcp_fsf_send_els(struct zfcp_send_els *); 97extern int zfcp_fsf_send_els(struct zfcp_send_els *);