From: Albert Lee Date: Mon, 2 Apr 2007 03:28:52 +0000 (+0800) Subject: libata: reorder HSM_ST_FIRST for easier decoding (take 3) X-Git-Tag: v2.6.21-rc6~16^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7152764700559b6a4041fdaba345df9a5cd962f0;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Jeff Garzik --- diff --git a/include/linux/libata.h b/include/linux/libata.h index e3f32f3..c7b5e66 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 {