diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index ea8ab29aa92e..1fcd0ef9e1c9 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -158,15 +158,16 @@ enum { | |||
158 | }; | 158 | }; |
159 | 159 | ||
160 | enum hsm_task_states { | 160 | enum hsm_task_states { |
161 | HSM_ST_UNKNOWN, | 161 | HSM_ST_UNKNOWN, /* state unknown */ |
162 | HSM_ST_IDLE, | 162 | HSM_ST_IDLE, /* no command on going */ |
163 | HSM_ST_POLL, | 163 | HSM_ST_POLL, /* same as HSM_ST, waits longer */ |
164 | HSM_ST_TMOUT, | 164 | HSM_ST_TMOUT, /* timeout */ |
165 | HSM_ST, | 165 | HSM_ST, /* (waiting the device to) transfer data */ |
166 | HSM_ST_LAST, | 166 | HSM_ST_LAST, /* (waiting the device to) complete command */ |
167 | HSM_ST_LAST_POLL, | 167 | HSM_ST_LAST_POLL, /* same as HSM_ST_LAST, waits longer */ |
168 | HSM_ST_ERR, | 168 | HSM_ST_ERR, /* error */ |
169 | HSM_ST_FIRST, | 169 | HSM_ST_FIRST, /* (waiting the device to) |
170 | write CDB or first data block */ | ||
170 | }; | 171 | }; |
171 | 172 | ||
172 | /* forward declarations */ | 173 | /* forward declarations */ |