summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/port.h
diff options
context:
space:
mode:
authorPiotr Sawicki <piotr.sawicki@intel.com>2011-05-11 23:52:26 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:49 -0700
commitd76f71d988ef48384593ad97ebc762d9257d96a8 (patch)
tree003e8decebcca6f31461acc3fee9d57349d442b9 /drivers/scsi/isci/port.h
parente91f41ef809a2d1b8cdba52ac380aecd706c93dd (diff)
isci: remove port start handler
remove the handler from the port state handler table and implement the logic directly in scic_sds_port_start(). Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com> [remove a level of indirection] 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.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index e63c34d02b7d..2ad205100f25 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
struct scic_sds_port_state_handler {
/**
- * The start_handler specifies the method invoked when a user
- * attempts to start a port.
- */
- scic_sds_port_handler_t start_handler;
-
- /**
* The stop_handler specifies the method invoked when a user
* attempts to stop a port.
*/
@@ -417,6 +411,8 @@ enum sci_status scic_sds_port_initialize(
void __iomem *port_configuration_regsiter,
void __iomem *viit_registers);
+enum sci_status scic_sds_port_start(struct scic_sds_port *sci_port);
+
enum sci_status scic_sds_port_add_phy(
struct scic_sds_port *sci_port,
struct scic_sds_phy *sci_phy);