aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/port.h
diff options
context:
space:
mode:
authorPiotr Sawicki <piotr.sawicki@intel.com>2011-05-11 19:52:31 -0400
committerDan Williams <dan.j.williams@intel.com>2011-07-03 07:04:49 -0400
commit8bc80d303063d9540493be623df1c9a8dee9ccb8 (patch)
treed19b14ebb64cc8e6afb05fbaeb1e3626494728f4 /drivers/scsi/isci/port.h
parentd76f71d988ef48384593ad97ebc762d9257d96a8 (diff)
isci: unify port stop handlers
Implement the stop handlers directly in scic_sds_port_stop() Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/port.h')
-rw-r--r--drivers/scsi/isci/port.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index 2ad205100f25..843eb62a3090 100644
--- a/drivers/scsi/isci/port.h
+++ b/drivers/scsi/isci/port.h
@@ -313,12 +313,6 @@ typedef enum sci_status (*scic_sds_port_io_request_handler_t)(struct scic_sds_po
313 313
314struct scic_sds_port_state_handler { 314struct scic_sds_port_state_handler {
315 /** 315 /**
316 * The stop_handler specifies the method invoked when a user
317 * attempts to stop a port.
318 */
319 scic_sds_port_handler_t stop_handler;
320
321 /**
322 * The destruct_handler specifies the method invoked when attempting to 316 * The destruct_handler specifies the method invoked when attempting to
323 * destruct a port. 317 * destruct a port.
324 */ 318 */
@@ -412,6 +406,7 @@ enum sci_status scic_sds_port_initialize(
412 void __iomem *viit_registers); 406 void __iomem *viit_registers);
413 407
414enum sci_status scic_sds_port_start(struct scic_sds_port *sci_port); 408enum sci_status scic_sds_port_start(struct scic_sds_port *sci_port);
409enum sci_status scic_sds_port_stop(struct scic_sds_port *sci_port);
415 410
416enum sci_status scic_sds_port_add_phy( 411enum sci_status scic_sds_port_add_phy(
417 struct scic_sds_port *sci_port, 412 struct scic_sds_port *sci_port,