diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2009-08-18 09:43:21 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-05 09:49:30 -0400 |
commit | 5771710bd5edfafcb8656f49b93690a6fae5a4d2 (patch) | |
tree | f7ca88bc0f3d780794aa564855c0ed0ddeb9af18 /drivers/s390/scsi/zfcp_ext.h | |
parent | 799b76d09aeee558d18c1f5b93e63f58f1d1fc11 (diff) |
[SCSI] zfcp: Update dbf calls
Change the dbf data and functions to use the zfcp_dbf prefix
throughout the code. Also change the calls to dbf to use zfcp_dbf
instead of zfcp_adapter.
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 | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index 7650cec7f71f..a49d00921b92 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -34,35 +34,31 @@ extern struct zfcp_adapter *zfcp_get_adapter_by_busid(char *); | |||
34 | extern struct miscdevice zfcp_cfdc_misc; | 34 | extern struct miscdevice zfcp_cfdc_misc; |
35 | 35 | ||
36 | /* zfcp_dbf.c */ | 36 | /* zfcp_dbf.c */ |
37 | extern int zfcp_adapter_debug_register(struct zfcp_adapter *); | 37 | extern int zfcp_dbf_adapter_register(struct zfcp_adapter *); |
38 | extern void zfcp_adapter_debug_unregister(struct zfcp_adapter *); | 38 | extern void zfcp_dbf_adapter_unregister(struct zfcp_dbf *); |
39 | extern void zfcp_rec_dbf_event_thread(char *, struct zfcp_adapter *); | 39 | extern void zfcp_dbf_rec_thread(char *, struct zfcp_dbf *); |
40 | extern void zfcp_rec_dbf_event_thread_lock(char *, struct zfcp_adapter *); | 40 | extern void zfcp_dbf_rec_thread_lock(char *, struct zfcp_dbf *); |
41 | extern void zfcp_rec_dbf_event_adapter(char *, void *, struct zfcp_adapter *); | 41 | extern void zfcp_dbf_rec_adapter(char *, void *, struct zfcp_dbf *); |
42 | extern void zfcp_rec_dbf_event_port(char *, void *, struct zfcp_port *); | 42 | extern void zfcp_dbf_rec_port(char *, void *, struct zfcp_port *); |
43 | extern void zfcp_rec_dbf_event_unit(char *, void *, struct zfcp_unit *); | 43 | extern void zfcp_dbf_rec_unit(char *, void *, struct zfcp_unit *); |
44 | extern void zfcp_rec_dbf_event_trigger(char *, void *, u8, u8, void *, | 44 | extern void zfcp_dbf_rec_trigger(char *, void *, u8, u8, void *, |
45 | struct zfcp_adapter *, | 45 | struct zfcp_adapter *, struct zfcp_port *, |
46 | struct zfcp_port *, struct zfcp_unit *); | 46 | struct zfcp_unit *); |
47 | extern void zfcp_rec_dbf_event_action(char *, struct zfcp_erp_action *); | 47 | extern void zfcp_dbf_rec_action(char *, struct zfcp_erp_action *); |
48 | extern void _zfcp_hba_dbf_event_fsf_response(const char *, int level, | 48 | extern void _zfcp_dbf_hba_fsf_response(const char *, int, struct zfcp_fsf_req *, |
49 | struct zfcp_fsf_req *, | 49 | struct zfcp_dbf *); |
50 | struct zfcp_dbf *dbf); | 50 | extern void _zfcp_dbf_hba_fsf_unsol(const char *, int level, struct zfcp_dbf *, |
51 | extern void _zfcp_hba_dbf_event_fsf_unsol(const char *, int level, | ||
52 | struct zfcp_adapter *, | ||
53 | struct fsf_status_read_buffer *); | 51 | struct fsf_status_read_buffer *); |
54 | extern void zfcp_hba_dbf_event_qdio(struct zfcp_qdio *, unsigned int, int, | 52 | extern void zfcp_dbf_hba_qdio(struct zfcp_dbf *, unsigned int, int, int); |
55 | int); | 53 | extern void zfcp_dbf_hba_berr(struct zfcp_dbf *, struct zfcp_fsf_req *); |
56 | extern void zfcp_hba_dbf_event_berr(struct zfcp_adapter *, | 54 | extern void zfcp_dbf_san_ct_request(struct zfcp_fsf_req *); |
57 | struct zfcp_fsf_req *); | 55 | extern void zfcp_dbf_san_ct_response(struct zfcp_fsf_req *); |
58 | extern void zfcp_san_dbf_event_ct_request(struct zfcp_fsf_req *); | 56 | extern void zfcp_dbf_san_els_request(struct zfcp_fsf_req *); |
59 | extern void zfcp_san_dbf_event_ct_response(struct zfcp_fsf_req *); | 57 | extern void zfcp_dbf_san_els_response(struct zfcp_fsf_req *); |
60 | extern void zfcp_san_dbf_event_els_request(struct zfcp_fsf_req *); | 58 | extern void zfcp_dbf_san_incoming_els(struct zfcp_fsf_req *); |
61 | extern void zfcp_san_dbf_event_els_response(struct zfcp_fsf_req *); | 59 | extern void _zfcp_dbf_scsi(const char *, const char *, int, struct zfcp_dbf *, |
62 | extern void zfcp_san_dbf_event_incoming_els(struct zfcp_fsf_req *); | 60 | struct scsi_cmnd *, struct zfcp_fsf_req *, |
63 | extern void _zfcp_scsi_dbf_event(const char *, const char *, int, | 61 | unsigned long); |
64 | struct zfcp_dbf *, struct scsi_cmnd *, | ||
65 | struct zfcp_fsf_req *, unsigned long); | ||
66 | 62 | ||
67 | /* zfcp_erp.c */ | 63 | /* zfcp_erp.c */ |
68 | extern void zfcp_erp_modify_adapter_status(struct zfcp_adapter *, char *, | 64 | extern void zfcp_erp_modify_adapter_status(struct zfcp_adapter *, char *, |