libata: reorder HSM_ST_FIRST for easier decoding (take 3)
authorAlbert Lee <albertcc@tw.ibm.com>
Mon, 2 Apr 2007 03:28:52 +0000 (11:28 +0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 4 Apr 2007 06:12:27 +0000 (02:12 -0400)
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>
include/linux/libata.h

index e3f32f3..c7b5e66 100644 (file)
@@ -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 {