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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7152764700559b6a4041fdaba345df9a5cd962f0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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 {