patch 1/4:
  Reorder HSM_ST_FIRST, such that the task state transition is easier decoded 
with human eyes.

Signed-off-by: Albert Lee <[EMAIL PROTECTED]>
---
Patch against libata-dev tree, for your review, thanks.

diff -Nrup 00_libata-dev.ori/include/linux/libata.h 
01_hsm_st/include/linux/libata.h
--- 00_libata-dev.ori/include/linux/libata.h    2007-03-23 16:56:24.000000000 
+0800
+++ 01_hsm_st/include/linux/libata.h    2007-03-26 12:33:28.000000000 +0800
@@ -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 {


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to