summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2007-04-02 11:28:52 +0800
committerJeff Garzik <jeff@garzik.org>2007-04-04 02:12:27 -0400
commit7152764700559b6a4041fdaba345df9a5cd962f0 (patch)
tree2b5d3bc3d4c36b4e0a5599be4db93a4f72aaf90d /include
parent277239f228654fc03affdf2aa0e7a3969f420415 (diff)
downloadlinux-7152764700559b6a4041fdaba345df9a5cd962f0.tar.bz2
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')
-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 {
enum hsm_task_states {
HSM_ST_IDLE, /* no command on going */
+ HSM_ST_FIRST, /* (waiting the device to)
+ write CDB or first data block */
HSM_ST, /* (waiting the device to) transfer data */
HSM_ST_LAST, /* (waiting the device to) complete command */
HSM_ST_ERR, /* error */
- HSM_ST_FIRST, /* (waiting the device to)
- write CDB or first data block */
};
enum ata_completion_errors {