diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_host.h | 3 | ||||
-rw-r--r-- | include/scsi/scsi_transport.h | 6 | ||||
-rw-r--r-- | include/scsi/scsi_transport_srp.h | 1 |
3 files changed, 7 insertions, 3 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 89c40c4bd5c4..88f6871badd8 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -145,9 +145,6 @@ struct scsi_host_template { | |||
145 | int (* transfer_response)(struct scsi_cmnd *, | 145 | int (* transfer_response)(struct scsi_cmnd *, |
146 | void (*done)(struct scsi_cmnd *)); | 146 | void (*done)(struct scsi_cmnd *)); |
147 | 147 | ||
148 | /* Used as callback for the completion of task management request. */ | ||
149 | int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64 mid, int result); | ||
150 | |||
151 | /* | 148 | /* |
152 | * This is an error handling strategy routine. You don't need to | 149 | * This is an error handling strategy routine. You don't need to |
153 | * define one of these if you don't want to - there is a default | 150 | * define one of these if you don't want to - there is a default |
diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index af5b3e15e64e..0dfef752f0e2 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h | |||
@@ -71,6 +71,12 @@ struct scsi_transport_template { | |||
71 | * for target drivers. | 71 | * for target drivers. |
72 | */ | 72 | */ |
73 | int (* it_nexus_response)(struct Scsi_Host *, u64, int); | 73 | int (* it_nexus_response)(struct Scsi_Host *, u64, int); |
74 | |||
75 | /* | ||
76 | * Used as callback for the completion of task management | ||
77 | * request for target drivers. | ||
78 | */ | ||
79 | int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int); | ||
74 | }; | 80 | }; |
75 | 81 | ||
76 | #define transport_class_to_shost(tc) \ | 82 | #define transport_class_to_shost(tc) \ |
diff --git a/include/scsi/scsi_transport_srp.h b/include/scsi/scsi_transport_srp.h index a705dbc016b3..9c60ca1c08c5 100644 --- a/include/scsi/scsi_transport_srp.h +++ b/include/scsi/scsi_transport_srp.h | |||
@@ -22,6 +22,7 @@ struct srp_rport { | |||
22 | 22 | ||
23 | struct srp_function_template { | 23 | struct srp_function_template { |
24 | /* for target drivers */ | 24 | /* for target drivers */ |
25 | int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int); | ||
25 | int (* it_nexus_response)(struct Scsi_Host *, u64, int); | 26 | int (* it_nexus_response)(struct Scsi_Host *, u64, int); |
26 | }; | 27 | }; |
27 | 28 | ||