[PATCH] libata irq-pio: merge the ata_dataout_task workqueue with ata_pio_task workqueue

- remove ap->dataout_task from struct ata_port
   - let ata_pio_task() handle the HSM_ST_FIRST state.
   - rename ata_dataout_task() to ata_pio_first_block()
   - replace the ata_dataout_task workqueue with ata_pio_task workqueue

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>

========
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
Albert Lee 2005-11-01 19:24:49 +08:00 committed by Jeff Garzik
commit e27486db89
2 changed files with 11 additions and 11 deletions

View file

@ -346,8 +346,6 @@ struct ata_port {
struct ata_host_stats stats;
struct ata_host_set *host_set;
struct work_struct dataout_task;
struct work_struct pio_task;
unsigned int hsm_task_state;
unsigned long pio_task_timeout;