diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2008-06-10 12:20:57 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:25 -0400 |
commit | 00bab91066a49468bfa4f6d5c8ad5e9ec53b7ea3 (patch) | |
tree | a5ce7bfe5ad290c339f669b3596b75f5238157c6 /drivers/s390/scsi/zfcp_ext.h | |
parent | fa04c2816883a49ec518514f6c19767d54be20b5 (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.h | 18 |
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 | ||
58 | extern void zfcp_qdio_zero_sbals(struct qdio_buffer **, int, int); | 58 | extern void zfcp_qdio_zero_sbals(struct qdio_buffer **, int, int); |
59 | extern int zfcp_qdio_allocate(struct zfcp_adapter *); | 59 | extern int zfcp_qdio_allocate(struct zfcp_adapter *); |
60 | extern int zfcp_qdio_allocate_queues(struct zfcp_adapter *); | 60 | extern void zfcp_qdio_free(struct zfcp_adapter *); |
61 | extern void zfcp_qdio_free_queues(struct zfcp_adapter *); | 61 | extern int zfcp_qdio_send(struct zfcp_fsf_req *fsf_req); |
62 | extern int zfcp_qdio_determine_pci(struct zfcp_qdio_queue *, | ||
63 | struct zfcp_fsf_req *); | ||
64 | 62 | ||
65 | extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_req | 63 | extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_req |
66 | (struct zfcp_fsf_req *, int, int); | 64 | (struct zfcp_fsf_req *); |
67 | extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_curr | 65 | extern volatile struct qdio_buffer_element *zfcp_qdio_sbale_curr |
68 | (struct zfcp_fsf_req *); | 66 | (struct zfcp_fsf_req *); |
69 | extern int zfcp_qdio_sbals_from_sg | 67 | extern 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); |
71 | extern int zfcp_qdio_sbals_from_scsicmnd | 69 | extern int zfcp_qdio_open(struct zfcp_adapter *adapter); |
72 | (struct zfcp_fsf_req *, unsigned long, struct scsi_cmnd *); | 70 | extern void zfcp_qdio_close(struct zfcp_adapter *adapter); |
73 | |||
74 | |||
75 | /******************************** FSF ****************************************/ | 71 | /******************************** FSF ****************************************/ |
76 | extern int zfcp_fsf_open_port(struct zfcp_erp_action *); | 72 | extern int zfcp_fsf_open_port(struct zfcp_erp_action *); |
77 | extern int zfcp_fsf_close_port(struct zfcp_erp_action *); | 73 | extern int zfcp_fsf_close_port(struct zfcp_erp_action *); |
@@ -95,7 +91,7 @@ extern int zfcp_fsf_status_read(struct zfcp_adapter *, int); | |||
95 | extern int zfcp_status_read_refill(struct zfcp_adapter *adapter); | 91 | extern int zfcp_status_read_refill(struct zfcp_adapter *adapter); |
96 | extern int zfcp_fsf_req_create(struct zfcp_adapter *, u32, int, mempool_t *, | 92 | extern 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); |
99 | extern int zfcp_fsf_send_ct(struct zfcp_send_ct *, mempool_t *, | 95 | extern int zfcp_fsf_send_ct(struct zfcp_send_ct *, mempool_t *, |
100 | struct zfcp_erp_action *); | 96 | struct zfcp_erp_action *); |
101 | extern int zfcp_fsf_send_els(struct zfcp_send_els *); | 97 | extern int zfcp_fsf_send_els(struct zfcp_send_els *); |