summaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2005-09-27 17:36:35 +0800
committerJeff Garzik <jgarzik@pobox.com>2005-09-28 11:58:39 -0400
commit14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 (patch)
tree715ac051b4fd2e3d62219110be4fc71d2f1a06f8 /include/linux/libata.h
parentee500aabf10323a7e313731b8c0be7c2c6dd27c7 (diff)
downloadop-kernel-dev-14be71f4c5c5ad1e222c5202ee6d234e9c8828b7.zip
op-kernel-dev-14be71f4c5c5ad1e222c5202ee6d234e9c8828b7.tar.gz
[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/libata.h')
-rw-r--r--include/linux/libata.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index ceee1fc..bb2d916 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -156,15 +156,15 @@ enum {
ATA_SHIFT_PIO = 11,
};
-enum pio_task_states {
- PIO_ST_UNKNOWN,
- PIO_ST_IDLE,
- PIO_ST_POLL,
- PIO_ST_TMOUT,
- PIO_ST,
- PIO_ST_LAST,
- PIO_ST_LAST_POLL,
- PIO_ST_ERR,
+enum hsm_task_states {
+ HSM_ST_UNKNOWN,
+ HSM_ST_IDLE,
+ HSM_ST_POLL,
+ HSM_ST_TMOUT,
+ HSM_ST,
+ HSM_ST_LAST,
+ HSM_ST_LAST_POLL,
+ HSM_ST_ERR,
};
/* forward declarations */
@@ -319,7 +319,7 @@ struct ata_port {
struct work_struct packet_task;
struct work_struct pio_task;
- unsigned int pio_task_state;
+ unsigned int hsm_task_state;
unsigned long pio_task_timeout;
void *private_data;
OpenPOWER on IntegriCloud