Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254331
b: refs/heads/master
c: 8f31550
h: refs/heads/master
i:
  254329: 9b90a13
  254327: db177b1
v: v3
  • Loading branch information
Dan Williams committed Jul 3, 2011
1 parent b6db3d2 commit bc5757a
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 209 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 858d4aa741c80fb7579cda3517853f0cffc73772
refs/heads/master: 8f31550c77849250ec49d1509b6bb63b4ddc59e4
15 changes: 5 additions & 10 deletions trunk/drivers/scsi/isci/core/sci_base_phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ enum sci_base_phy_states {
* Simply the final state for the base phy state machine.
*/
SCI_BASE_PHY_STATE_FINAL,

SCI_BASE_PHY_MAX_STATES

};

/**
Expand All @@ -138,9 +135,7 @@ struct sci_base_phy {
struct sci_base_state_machine state_machine;
};

typedef enum sci_status (*SCI_BASE_PHY_HANDLER_T)(
struct sci_base_phy *
);
typedef enum sci_status (*sci_base_phy_handler_t)(struct sci_base_phy *);

/**
* struct sci_base_phy_state_handler - This structure contains all of the state
Expand All @@ -155,25 +150,25 @@ struct sci_base_phy_state_handler {
* The start_handler specifies the method invoked when there is an
* attempt to start a phy.
*/
SCI_BASE_PHY_HANDLER_T start_handler;
sci_base_phy_handler_t start_handler;

/**
* The stop_handler specifies the method invoked when there is an
* attempt to stop a phy.
*/
SCI_BASE_PHY_HANDLER_T stop_handler;
sci_base_phy_handler_t stop_handler;

/**
* The reset_handler specifies the method invoked when there is an
* attempt to reset a phy.
*/
SCI_BASE_PHY_HANDLER_T reset_handler;
sci_base_phy_handler_t reset_handler;

/**
* The destruct_handler specifies the method invoked when attempting to
* destruct a phy.
*/
SCI_BASE_PHY_HANDLER_T destruct_handler;
sci_base_phy_handler_t destruct_handler;

};

Expand Down
Loading

0 comments on commit bc5757a

Please sign in to comment.