summaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2006-03-25 17:53:57 +0800
committerJeff Garzik <jeff@garzik.org>2006-03-29 17:21:54 -0500
commit27cdadef6dfe0d0614653919a110fc75ab1650ce (patch)
tree88c762ec72b2f09ef7aab5acdd8d3888b5c50758 /include/linux/libata.h
parenta1af37344f669d0fefa8c8a9e37eb6a7c086a2c2 (diff)
downloadblackbird-op-linux-27cdadef6dfe0d0614653919a110fc75ab1650ce.tar.gz
blackbird-op-linux-27cdadef6dfe0d0614653919a110fc75ab1650ce.zip
[PATCH] libata-dev: Cleanup unused enums/functions
Cleanup the following unused functions: - ata_pio_poll() - ata_pio_complete() - ata_pio_first_block() - ata_pio_block() - ata_pio_error() ap->pio_task_timeout and other enums. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 70ca99bbc6c7..0eb71c1773a1 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -162,13 +162,8 @@ enum {
ATA_QCFLAG_EH_SCHEDULED = (1 << 5), /* EH scheduled */
/* various lengths of time */
- ATA_TMOUT_PIO = 30 * HZ,
ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */
ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */
- ATA_TMOUT_DATAOUT = 30 * HZ,
- ATA_TMOUT_DATAOUT_QUICK = 5 * HZ,
- ATA_TMOUT_CDB = 30 * HZ,
- ATA_TMOUT_CDB_QUICK = 5 * HZ,
ATA_TMOUT_INTERNAL = 30 * HZ,
ATA_TMOUT_INTERNAL_QUICK = 5 * HZ,
@@ -216,11 +211,8 @@ enum {
enum hsm_task_states {
HSM_ST_UNKNOWN, /* state unknown */
HSM_ST_IDLE, /* no command on going */
- HSM_ST_POLL, /* same as HSM_ST, waits longer */
- HSM_ST_TMOUT, /* timeout */
HSM_ST, /* (waiting the device to) transfer data */
HSM_ST_LAST, /* (waiting the device to) complete command */
- HSM_ST_LAST_POLL, /* same as HSM_ST_LAST, waits longer */
HSM_ST_ERR, /* error */
HSM_ST_FIRST, /* (waiting the device to)
write CDB or first data block */
@@ -409,7 +401,6 @@ struct ata_port {
struct work_struct port_task;
unsigned int hsm_task_state;
- unsigned long pio_task_timeout;
u32 msg_enable;
struct list_head eh_done_q;
OpenPOWER on IntegriCloud