-
- Downloads
isci: state machine cleanup
This cleans up several areas of the state machine mechanism: o Rename sci_base_state_machine_change_state to sci_change_state o Remove sci_base_state_machine_get_state function o Rename 'state_machine' struct member to 'sm' in client structs o Shorten the name of request states o Shorten state machine state names as follows: SCI_BASE_CONTROLLER_STATE_xxx to SCIC_xxx SCI_BASE_PHY_STATE_xxx to SCI_PHY_xxx SCIC_SDS_PHY_STARTING_SUBSTATE_xxx to SCI_PHY_SUB_xxx SCI_BASE_PORT_STATE_xxx to SCI_PORT_xxx and SCIC_SDS_PORT_READY_SUBSTATE_xxx to SCI_PORT_SUB_xxx SCI_BASE_REMOTE_DEVICE_STATE_xxx to SCI_DEV_xxx SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_xxx to SCI_STP_DEV_xxx SCIC_SDS_SMP_REMOTE_DEVICE_READY_SUBSTATE_xxx to SCI_SMP_DEV_xxx SCIC_SDS_REMOTE_NODE_CONTEXT_xxx_STATE to SCI_RNC_xxx Signed-off-by:Edmund Nadolski <edmund.nadolski@intel.com> Signed-off-by:
Dave Jiang <dave.jiang@intel.com> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
- drivers/scsi/isci/host.c 89 additions, 112 deletionsdrivers/scsi/isci/host.c
- drivers/scsi/isci/host.h 11 additions, 14 deletionsdrivers/scsi/isci/host.h
- drivers/scsi/isci/phy.c 106 additions, 138 deletionsdrivers/scsi/isci/phy.c
- drivers/scsi/isci/phy.h 17 additions, 17 deletionsdrivers/scsi/isci/phy.h
- drivers/scsi/isci/port.c 93 additions, 93 deletionsdrivers/scsi/isci/port.c
- drivers/scsi/isci/port.h 9 additions, 9 deletionsdrivers/scsi/isci/port.h
- drivers/scsi/isci/port_config.c 2 additions, 2 deletionsdrivers/scsi/isci/port_config.c
- drivers/scsi/isci/remote_device.c 171 additions, 178 deletionsdrivers/scsi/isci/remote_device.c
- drivers/scsi/isci/remote_device.h 17 additions, 17 deletionsdrivers/scsi/isci/remote_device.h
- drivers/scsi/isci/remote_node_context.c 70 additions, 84 deletionsdrivers/scsi/isci/remote_node_context.c
- drivers/scsi/isci/remote_node_context.h 9 additions, 9 deletionsdrivers/scsi/isci/remote_node_context.h
- drivers/scsi/isci/request.c 307 additions, 275 deletionsdrivers/scsi/isci/request.c
- drivers/scsi/isci/request.h 173 additions, 184 deletionsdrivers/scsi/isci/request.h
- drivers/scsi/isci/state_machine.c 1 addition, 25 deletionsdrivers/scsi/isci/state_machine.c
- drivers/scsi/isci/state_machine.h 1 addition, 3 deletionsdrivers/scsi/isci/state_machine.h
Loading
Please register or sign in to comment