aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/remote_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/remote_device.h')
-rw-r--r--drivers/scsi/isci/remote_device.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/drivers/scsi/isci/remote_device.h b/drivers/scsi/isci/remote_device.h
index 1577b126aedc..18f7f9663661 100644
--- a/drivers/scsi/isci/remote_device.h
+++ b/drivers/scsi/isci/remote_device.h
@@ -128,12 +128,6 @@ struct scic_sds_remote_device {
128 * assigned in the state handlers and used in the state transition. 128 * assigned in the state handlers and used in the state transition.
129 */ 129 */
130 u32 not_ready_reason; 130 u32 not_ready_reason;
131
132 /**
133 * This field maintains the set of state handlers for the remote device
134 * object. These are changed each time the remote device enters a new state.
135 */
136 const struct scic_sds_remote_device_state_handler *state_handlers;
137}; 131};
138 132
139struct isci_remote_device { 133struct isci_remote_device {
@@ -347,47 +341,6 @@ static inline bool dev_is_expander(struct domain_device *dev)
347 return dev->dev_type == EDGE_DEV || dev->dev_type == FANOUT_DEV; 341 return dev->dev_type == EDGE_DEV || dev->dev_type == FANOUT_DEV;
348} 342}
349 343
350typedef enum sci_status (*scic_sds_remote_device_request_handler_t)(
351 struct scic_sds_remote_device *device,
352 struct scic_sds_request *request);
353
354typedef enum sci_status (*scic_sds_remote_device_high_priority_request_complete_handler_t)(
355 struct scic_sds_remote_device *device,
356 struct scic_sds_request *request,
357 void *,
358 enum sci_io_status);
359
360typedef enum sci_status (*scic_sds_remote_device_handler_t)(
361 struct scic_sds_remote_device *sci_dev);
362
363typedef enum sci_status (*scic_sds_remote_device_suspend_handler_t)(
364 struct scic_sds_remote_device *sci_dev,
365 u32 suspend_type);
366
367typedef enum sci_status (*scic_sds_remote_device_resume_handler_t)(
368 struct scic_sds_remote_device *sci_dev);
369
370typedef enum sci_status (*scic_sds_remote_device_frame_handler_t)(
371 struct scic_sds_remote_device *sci_dev,
372 u32 frame_index);
373
374typedef enum sci_status (*scic_sds_remote_device_event_handler_t)(
375 struct scic_sds_remote_device *sci_dev,
376 u32 event_code);
377
378typedef void (*scic_sds_remote_device_ready_not_ready_handler_t)(
379 struct scic_sds_remote_device *sci_dev);
380
381/**
382 * struct scic_sds_remote_device_state_handler - This structure conains the
383 * state handlers that are needed to process requests for the SCU remote
384 * device objects.
385 *
386 *
387 */
388struct scic_sds_remote_device_state_handler {
389};
390
391/** 344/**
392 * scic_sds_remote_device_increment_request_count() - 345 * scic_sds_remote_device_increment_request_count() -
393 * 346 *
@@ -431,15 +384,6 @@ struct scic_sds_remote_device_state_handler {
431 scic_sds_port_get_controller(scic_sds_remote_device_get_port(sci_dev)) 384 scic_sds_port_get_controller(scic_sds_remote_device_get_port(sci_dev))
432 385
433/** 386/**
434 * scic_sds_remote_device_set_state_handlers() -
435 *
436 * This macro sets the remote device state handlers pointer and is set on entry
437 * to each device state.
438 */
439#define scic_sds_remote_device_set_state_handlers(sci_dev, handlers) \
440 ((sci_dev)->state_handlers = (handlers))
441
442/**
443 * scic_sds_remote_device_get_port() - 387 * scic_sds_remote_device_get_port() -
444 * 388 *
445 * This macro returns the owning port of this device 389 * This macro returns the owning port of this device