Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71527647 authored by Albert Lee's avatar Albert Lee Committed by Jeff Garzik
Browse files

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: default avatarAlbert Lee <albertcc@tw.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 277239f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {