aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r--drivers/s390/scsi/zfcp_ext.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h
index 2845693413fb..13eb0a67da66 100644
--- a/drivers/s390/scsi/zfcp_ext.h
+++ b/drivers/s390/scsi/zfcp_ext.h
@@ -67,8 +67,6 @@ extern int zfcp_fsf_exchange_port_data_sync(struct zfcp_adapter *,
67 struct fsf_qtcb_bottom_port *); 67 struct fsf_qtcb_bottom_port *);
68extern struct zfcp_fsf_req *zfcp_fsf_control_file(struct zfcp_adapter *adapter, 68extern struct zfcp_fsf_req *zfcp_fsf_control_file(struct zfcp_adapter *adapter,
69 struct zfcp_fsf_cfdc *fsf_cfdc); 69 struct zfcp_fsf_cfdc *fsf_cfdc);
70extern void zfcp_fsf_start_timer(struct zfcp_fsf_req *, unsigned long);
71extern void zfcp_erp_start_timer(struct zfcp_fsf_req *);
72extern void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *); 70extern void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *);
73extern int zfcp_fsf_status_read(struct zfcp_adapter *); 71extern int zfcp_fsf_status_read(struct zfcp_adapter *);
74extern int zfcp_status_read_refill(struct zfcp_adapter *adapter); 72extern int zfcp_status_read_refill(struct zfcp_adapter *adapter);
@@ -103,37 +101,34 @@ extern struct fc_function_template zfcp_transport_functions;
103/******************************** ERP ****************************************/ 101/******************************** ERP ****************************************/
104extern void zfcp_erp_modify_adapter_status(struct zfcp_adapter *, u8, void *, 102extern void zfcp_erp_modify_adapter_status(struct zfcp_adapter *, u8, void *,
105 u32, int); 103 u32, int);
106extern int zfcp_erp_adapter_reopen(struct zfcp_adapter *, int, u8, void *); 104extern void zfcp_erp_adapter_reopen(struct zfcp_adapter *, int, u8, void *);
107extern int zfcp_erp_adapter_shutdown(struct zfcp_adapter *, int, u8, void *); 105extern void zfcp_erp_adapter_shutdown(struct zfcp_adapter *, int, u8, void *);
108extern void zfcp_erp_adapter_failed(struct zfcp_adapter *, u8, void *); 106extern void zfcp_erp_adapter_failed(struct zfcp_adapter *, u8, void *);
109 107
110extern void zfcp_erp_modify_port_status(struct zfcp_port *, u8, void *, u32, 108extern void zfcp_erp_modify_port_status(struct zfcp_port *, u8, void *, u32,
111 int); 109 int);
112extern int zfcp_erp_port_reopen(struct zfcp_port *, int, u8, void *); 110extern int zfcp_erp_port_reopen(struct zfcp_port *, int, u8, void *);
113extern int zfcp_erp_port_shutdown(struct zfcp_port *, int, u8, void *); 111extern void zfcp_erp_port_shutdown(struct zfcp_port *, int, u8, void *);
114extern int zfcp_erp_port_forced_reopen(struct zfcp_port *, int, u8, void *); 112extern void zfcp_erp_port_forced_reopen(struct zfcp_port *, int, u8, void *);
115extern void zfcp_erp_port_failed(struct zfcp_port *, u8, void *); 113extern void zfcp_erp_port_failed(struct zfcp_port *, u8, void *);
116extern int zfcp_erp_port_reopen_all(struct zfcp_adapter *, int, u8, void *);
117 114
118extern void zfcp_erp_modify_unit_status(struct zfcp_unit *, u8, void *, u32, 115extern void zfcp_erp_modify_unit_status(struct zfcp_unit *, u8, void *, u32,
119 int); 116 int);
120extern int zfcp_erp_unit_reopen(struct zfcp_unit *, int, u8, void *); 117extern void zfcp_erp_unit_reopen(struct zfcp_unit *, int, u8, void *);
121extern int zfcp_erp_unit_shutdown(struct zfcp_unit *, int, u8, void *); 118extern void zfcp_erp_unit_shutdown(struct zfcp_unit *, int, u8, void *);
122extern void zfcp_erp_unit_failed(struct zfcp_unit *, u8, void *); 119extern void zfcp_erp_unit_failed(struct zfcp_unit *, u8, void *);
123 120
124extern int zfcp_erp_thread_setup(struct zfcp_adapter *); 121extern int zfcp_erp_thread_setup(struct zfcp_adapter *);
125extern int zfcp_erp_thread_kill(struct zfcp_adapter *); 122extern void zfcp_erp_thread_kill(struct zfcp_adapter *);
126extern int zfcp_erp_wait(struct zfcp_adapter *); 123extern void zfcp_erp_wait(struct zfcp_adapter *);
127extern void zfcp_erp_async_handler(struct zfcp_erp_action *, unsigned long); 124extern void zfcp_erp_notify(struct zfcp_erp_action *, unsigned long);
128 125
129extern void zfcp_erp_port_boxed(struct zfcp_port *, u8 id, void *ref); 126extern void zfcp_erp_port_boxed(struct zfcp_port *, u8 id, void *ref);
130extern void zfcp_erp_unit_boxed(struct zfcp_unit *, u8 id, void *ref); 127extern void zfcp_erp_unit_boxed(struct zfcp_unit *, u8 id, void *ref);
131extern void zfcp_erp_port_access_denied(struct zfcp_port *, u8 id, void *ref); 128extern void zfcp_erp_port_access_denied(struct zfcp_port *, u8 id, void *ref);
132extern void zfcp_erp_unit_access_denied(struct zfcp_unit *, u8 id, void *ref); 129extern void zfcp_erp_unit_access_denied(struct zfcp_unit *, u8 id, void *ref);
133extern void zfcp_erp_adapter_access_changed(struct zfcp_adapter *, u8, void *); 130extern void zfcp_erp_adapter_access_changed(struct zfcp_adapter *, u8, void *);
134extern void zfcp_erp_port_access_changed(struct zfcp_port *, u8, void *); 131extern void zfcp_erp_timeout_handler(unsigned long);
135extern void zfcp_erp_unit_access_changed(struct zfcp_unit *, u8, void *);
136
137/******************************** AUX ****************************************/ 132/******************************** AUX ****************************************/
138extern void zfcp_sg_free_table(struct scatterlist *sg, int count); 133extern void zfcp_sg_free_table(struct scatterlist *sg, int count);
139extern int zfcp_sg_setup_table(struct scatterlist *sg, int count); 134extern int zfcp_sg_setup_table(struct scatterlist *sg, int count);