aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/port.h')
-rw-r--r--drivers/scsi/isci/port.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index 9a6912855fc1..fee6d80df769 100644
--- a/drivers/scsi/isci/port.h
+++ b/drivers/scsi/isci/port.h
@@ -84,7 +84,7 @@ struct scic_sds_port {
84 /** 84 /**
85 * This field contains the information for the base port state machine. 85 * This field contains the information for the base port state machine.
86 */ 86 */
87 struct sci_base_state_machine state_machine; 87 struct sci_base_state_machine sm;
88 88
89 bool ready_exit; 89 bool ready_exit;
90 90
@@ -224,7 +224,7 @@ enum scic_sds_port_states {
224 * In this state no new IO operations are permitted. 224 * In this state no new IO operations are permitted.
225 * This state is entered from the STOPPING state. 225 * This state is entered from the STOPPING state.
226 */ 226 */
227 SCI_BASE_PORT_STATE_STOPPED, 227 SCI_PORT_STOPPED,
228 228
229 /** 229 /**
230 * This state indicates that the port is in the process of stopping. 230 * This state indicates that the port is in the process of stopping.
@@ -232,33 +232,33 @@ enum scic_sds_port_states {
232 * operations are allowed to complete. 232 * operations are allowed to complete.
233 * This state is entered from the READY state. 233 * This state is entered from the READY state.
234 */ 234 */
235 SCI_BASE_PORT_STATE_STOPPING, 235 SCI_PORT_STOPPING,
236 236
237 /** 237 /**
238 * This state indicates the port is now ready. Thus, the user is 238 * This state indicates the port is now ready. Thus, the user is
239 * able to perform IO operations on this port. 239 * able to perform IO operations on this port.
240 * This state is entered from the STARTING state. 240 * This state is entered from the STARTING state.
241 */ 241 */
242 SCI_BASE_PORT_STATE_READY, 242 SCI_PORT_READY,
243 243
244 /** 244 /**
245 * The substate where the port is started and ready but has no 245 * The substate where the port is started and ready but has no
246 * active phys. 246 * active phys.
247 */ 247 */
248 SCIC_SDS_PORT_READY_SUBSTATE_WAITING, 248 SCI_PORT_SUB_WAITING,
249 249
250 /** 250 /**
251 * The substate where the port is started and ready and there is 251 * The substate where the port is started and ready and there is
252 * at least one phy operational. 252 * at least one phy operational.
253 */ 253 */
254 SCIC_SDS_PORT_READY_SUBSTATE_OPERATIONAL, 254 SCI_PORT_SUB_OPERATIONAL,
255 255
256 /** 256 /**
257 * The substate where the port is started and there was an 257 * The substate where the port is started and there was an
258 * add/remove phy event. This state is only used in Automatic 258 * add/remove phy event. This state is only used in Automatic
259 * Port Configuration Mode (APC) 259 * Port Configuration Mode (APC)
260 */ 260 */
261 SCIC_SDS_PORT_READY_SUBSTATE_CONFIGURING, 261 SCI_PORT_SUB_CONFIGURING,
262 262
263 /** 263 /**
264 * This state indicates the port is in the process of performing a hard 264 * This state indicates the port is in the process of performing a hard
@@ -266,14 +266,14 @@ enum scic_sds_port_states {
266 * port. 266 * port.
267 * This state is entered from the READY state. 267 * This state is entered from the READY state.
268 */ 268 */
269 SCI_BASE_PORT_STATE_RESETTING, 269 SCI_PORT_RESETTING,
270 270
271 /** 271 /**
272 * This state indicates the port has failed a reset request. This state 272 * This state indicates the port has failed a reset request. This state
273 * is entered when a port reset request times out. 273 * is entered when a port reset request times out.
274 * This state is entered from the RESETTING state. 274 * This state is entered from the RESETTING state.
275 */ 275 */
276 SCI_BASE_PORT_STATE_FAILED, 276 SCI_PORT_FAILED,
277 277
278 278
279}; 279};