aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2007-04-01 23:28:52 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-04 02:12:27 -0400
commit7152764700559b6a4041fdaba345df9a5cd962f0 (patch)
tree2b5d3bc3d4c36b4e0a5599be4db93a4f72aaf90d /include/linux
parent277239f228654fc03affdf2aa0e7a3969f420415 (diff)
libata: reorder HSM_ST_FIRST for easier decoding (take 3)
patch 1/4: Reorder HSM_ST_FIRST, such that the task state transition is easier decoded with human eyes. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index e3f32f3189b2..c7b5e661fe59 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -315,11 +315,11 @@ enum {
315 315
316enum hsm_task_states { 316enum hsm_task_states {
317 HSM_ST_IDLE, /* no command on going */ 317 HSM_ST_IDLE, /* no command on going */
318 HSM_ST_FIRST, /* (waiting the device to)
319 write CDB or first data block */
318 HSM_ST, /* (waiting the device to) transfer data */ 320 HSM_ST, /* (waiting the device to) transfer data */
319 HSM_ST_LAST, /* (waiting the device to) complete command */ 321 HSM_ST_LAST, /* (waiting the device to) complete command */
320 HSM_ST_ERR, /* error */ 322 HSM_ST_ERR, /* error */
321 HSM_ST_FIRST, /* (waiting the device to)
322 write CDB or first data block */
323}; 323};
324 324
325enum ata_completion_errors { 325enum ata_completion_errors {