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://pilppa.com/gitweb/?a=commitdiff_plain;h=7152764700559b6a4041fdaba345df9a5cd962f0;p=linux-2.6-omap-h63xx.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 e3f32f3189b..c7b5e661fe5 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 {