aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-03-31 11:01:39 -0400
committerDan Williams <dan.j.williams@intel.com>2011-07-03 07:00:37 -0400
commit78141676784ed190ce2546f97a7d6368f21e450b (patch)
tree4d524dd8eeac823a3bde04997be7271e7912bc72 /drivers
parent38aa74eb704c5886a5ded4085acd5f2895ab3511 (diff)
isci: kill dead data structurs in scic_io_request.h
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/isci/core/scic_io_request.h180
-rw-r--r--drivers/scsi/isci/core/scic_sds_stp_request.h4
2 files changed, 0 insertions, 184 deletions
diff --git a/drivers/scsi/isci/core/scic_io_request.h b/drivers/scsi/isci/core/scic_io_request.h
index fea894a0d28e..1ac530d2d3bd 100644
--- a/drivers/scsi/isci/core/scic_io_request.h
+++ b/drivers/scsi/isci/core/scic_io_request.h
@@ -72,186 +72,6 @@ struct scic_sds_remote_device;
72struct scic_sds_controller; 72struct scic_sds_controller;
73 73
74/** 74/**
75 * struct scic_io_parameters - This structure contains additional optional
76 * parameters for SSP IO requests. These parameters are utilized with the
77 * scic_io_request_construct_advanced_ssp() method.
78 *
79 * Add Block-guard/DIF, TLR
80 */
81struct scic_io_parameters {
82 /**
83 * This sub-structure contains SCSI specific features (for use with SSP
84 * IO requests).
85 */
86 struct {
87 /**
88 * Data Integrity Format (DIF) is also known as protection information
89 * or block-guard. This sub-structure contains DIF specific feature
90 * information for SSP IO requests.
91 */
92 struct {
93 void *placeholder;
94 } dif;
95
96 /**
97 * Transport Layer Retries (TLR) is an SSP protocol specific feature.
98 * This sub-structure contains Transport Layer Retries (TLR) specific
99 * feature information for SSP IO requests.
100 */
101 struct {
102 void *placeholder;
103 } tlr;
104
105 } scsi;
106
107};
108
109/**
110 * struct scic_passthru_request_callbacks - This structure contains the pointer
111 * to the callback functions for constructing the passthrough request common
112 * to SSP, SMP and STP. This structure must be set by the win sci layer
113 * before the passthrough build is called
114 *
115 *
116 */
117struct scic_passthru_request_callbacks {
118 /**
119 * Function pointer to get the phy identifier for passthrough request.
120 */
121 u32 (*scic_cb_passthru_get_phy_identifier)(void *, u8 *);
122 /**
123 * Function pointer to get the port identifier for passthrough request.
124 */
125 u32 (*scic_cb_passthru_get_port_identifier)(void *, u8 *);
126 /**
127 * Function pointer to get the connection rate for passthrough request.
128 */
129 u32 (*scic_cb_passthru_get_connection_rate)(void *, void *);
130 /**
131 * Function pointer to get the destination sas address for passthrough request.
132 */
133 void (*scic_cb_passthru_get_destination_sas_address)(void *, u8 **);
134 /**
135 * Function pointer to get the transfer length for passthrough request.
136 */
137 u32 (*scic_cb_passthru_get_transfer_length)(void *);
138 /**
139 * Function pointer to get the data direction for passthrough request.
140 */
141 u32 (*scic_cb_passthru_get_data_direction)(void *);
142
143};
144
145/**
146 * struct scic_ssp_passthru_request_callbacks - This structure contains the
147 * pointer to the callback functions for constructing the passthrough
148 * request specific to SSP. This structure must be set by the win sci layer
149 * before the passthrough build is called
150 *
151 *
152 */
153struct scic_ssp_passthru_request_callbacks {
154 /**
155 * Common callbacks for all Passthru requests
156 */
157 struct scic_passthru_request_callbacks common_callbacks;
158 /**
159 * Function pointer to get the lun for passthrough request.
160 */
161 void (*scic_cb_ssp_passthru_get_lun)(void *, u8 **);
162 /**
163 * Function pointer to get the cdb
164 */
165 void (*scic_cb_ssp_passthru_get_cdb)(void *, u32 *, u8 **, u32 *, u8 **);
166 /**
167 * Function pointer to get the task attribute for passthrough request.
168 */
169 u32 (*scic_cb_ssp_passthru_get_task_attribute)(void *);
170};
171
172/**
173 * struct scic_stp_passthru_request_callbacks - This structure contains the
174 * pointer to the callback functions for constructing the passthrough
175 * request specific to STP. This structure must be set by the win sci layer
176 * before the passthrough build is called
177 *
178 *
179 */
180struct scic_stp_passthru_request_callbacks {
181 /**
182 * Common callbacks for all Passthru requests
183 */
184 struct scic_passthru_request_callbacks common_callbacks;
185 /**
186 * Function pointer to get the protocol for passthrough request.
187 */
188 u8 (*scic_cb_stp_passthru_get_protocol)(void *);
189 /**
190 * Function pointer to get the resgister fis
191 */
192 void (*scic_cb_stp_passthru_get_register_fis)(void *, u8 **);
193 /**
194 * Function pointer to get the MULTIPLE_COUNT (bits 5,6,7 in Byte 1 in the SAT-specific SCSI extenstion in ATA Pass-through (0x85))
195 */
196 u8 (*scic_cb_stp_passthru_get_multiplecount)(void *);
197 /**
198 * Function pointer to get the EXTEND (bit 0 in Byte 1 the SAT-specific SCSI extenstion in ATA Pass-through (0x85))
199 */
200 u8 (*scic_cb_stp_passthru_get_extend)(void *);
201 /**
202 * Function pointer to get the CK_COND (bit 5 in Byte 2 the SAT-specific SCSI extenstion in ATA Pass-through (0x85))
203 */
204 u8 (*scic_cb_stp_passthru_get_ckcond)(void *);
205 /**
206 * Function pointer to get the T_DIR (bit 3 in Byte 2 the SAT-specific SCSI extenstion in ATA Pass-through (0x85))
207 */
208 u8 (*scic_cb_stp_passthru_get_tdir)(void *);
209 /**
210 * Function pointer to get the BYTE_BLOCK (bit 2 in Byte 2 the SAT-specific SCSI extenstion in ATA Pass-through (0x85))
211 */
212 u8 (*scic_cb_stp_passthru_get_byteblock)(void *);
213 /**
214 * Function pointer to get the T_LENGTH (bits 0,1 in Byte 2 the SAT-specific SCSI extenstion in ATA Pass-through (0x85))
215 */
216 u8 (*scic_cb_stp_passthru_get_tlength)(void *);
217
218};
219
220/**
221 * struct scic_smp_passthru_request_callbacks - This structure contains the
222 * pointer to the callback functions for constructing the passthrough
223 * request specific to SMP. This structure must be set by the win sci layer
224 * before the passthrough build is called
225 *
226 *
227 */
228struct scic_smp_passthru_request_callbacks {
229 /**
230 * Common callbacks for all Passthru requests
231 */
232 struct scic_passthru_request_callbacks common_callbacks;
233
234 /**
235 * Function pointer to get the length of the smp request and its length
236 */
237 u32 (*scic_cb_smp_passthru_get_request)(void *, u8 **);
238 /**
239 * Function pointer to get the frame type of the smp request
240 */
241 u8 (*scic_cb_smp_passthru_get_frame_type)(void *);
242 /**
243 * Function pointer to get the function in the the smp request
244 */
245 u8 (*scic_cb_smp_passthru_get_function)(void *);
246
247 /**
248 * Function pointer to get the "allocated response length" in the the smp request
249 */
250 u8 (*scic_cb_smp_passthru_get_allocated_response_length)(void *);
251
252};
253
254/**
255 * This enumeration specifies the transport protocol utilized for the request. 75 * This enumeration specifies the transport protocol utilized for the request.
256 * 76 *
257 * 77 *
diff --git a/drivers/scsi/isci/core/scic_sds_stp_request.h b/drivers/scsi/isci/core/scic_sds_stp_request.h
index cb4d2d626639..a6c02d3cba50 100644
--- a/drivers/scsi/isci/core/scic_sds_stp_request.h
+++ b/drivers/scsi/isci/core/scic_sds_stp_request.h
@@ -176,10 +176,6 @@ enum sci_status scic_sds_stp_pio_request_construct(
176 u8 sat_protocol, 176 u8 sat_protocol,
177 bool copy_rx_frame); 177 bool copy_rx_frame);
178 178
179enum sci_status scic_sds_stp_pio_request_construct_pass_through(
180 struct scic_sds_request *scic_io_request,
181 struct scic_stp_passthru_request_callbacks *passthru_cb);
182
183enum sci_status scic_sds_stp_udma_request_construct( 179enum sci_status scic_sds_stp_udma_request_construct(
184 struct scic_sds_request *this_request, 180 struct scic_sds_request *this_request,
185 u32 transfer_length, 181 u32 transfer_length,