diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2005-09-27 05:36:35 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-28 11:58:39 -0400 |
commit | 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 (patch) | |
tree | 715ac051b4fd2e3d62219110be4fc71d2f1a06f8 /include/linux | |
parent | ee500aabf10323a7e313731b8c0be7c2c6dd27c7 (diff) |
[PATCH] libata: rename host states
Changes:
s/PIO_ST_/HSM_ST_/ and s/pio_task_state/hsm_task_state/.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/libata.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index ceee1fc42c60..bb2d916bce44 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -156,15 +156,15 @@ enum { | |||
156 | ATA_SHIFT_PIO = 11, | 156 | ATA_SHIFT_PIO = 11, |
157 | }; | 157 | }; |
158 | 158 | ||
159 | enum pio_task_states { | 159 | enum hsm_task_states { |
160 | PIO_ST_UNKNOWN, | 160 | HSM_ST_UNKNOWN, |
161 | PIO_ST_IDLE, | 161 | HSM_ST_IDLE, |
162 | PIO_ST_POLL, | 162 | HSM_ST_POLL, |
163 | PIO_ST_TMOUT, | 163 | HSM_ST_TMOUT, |
164 | PIO_ST, | 164 | HSM_ST, |
165 | PIO_ST_LAST, | 165 | HSM_ST_LAST, |
166 | PIO_ST_LAST_POLL, | 166 | HSM_ST_LAST_POLL, |
167 | PIO_ST_ERR, | 167 | HSM_ST_ERR, |
168 | }; | 168 | }; |
169 | 169 | ||
170 | /* forward declarations */ | 170 | /* forward declarations */ |
@@ -319,7 +319,7 @@ struct ata_port { | |||
319 | struct work_struct packet_task; | 319 | struct work_struct packet_task; |
320 | 320 | ||
321 | struct work_struct pio_task; | 321 | struct work_struct pio_task; |
322 | unsigned int pio_task_state; | 322 | unsigned int hsm_task_state; |
323 | unsigned long pio_task_timeout; | 323 | unsigned long pio_task_timeout; |
324 | 324 | ||
325 | void *private_data; | 325 | void *private_data; |