[PATCH] libata irq-pio: cleanup ata_qc_issue_prot()
authorAlbert Lee <albertcc@tw.ibm.com>
Fri, 30 Sep 2005 11:14:19 +0000 (19:14 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 30 Sep 2005 11:21:06 +0000 (07:21 -0400)
commit54f00389563c80fa1de250a21256313ba01ca07d
treed8f0372ba782b902144f8efbaec6a38d439aad09
parent86a7397cda08a65bc4f306e812c846e2437b5347
[PATCH] libata irq-pio: cleanup ata_qc_issue_prot()

ata_qc_issue_prot():
    - cleanup and let the PIO data out case always go through the
ata_dataout_task() codepath.
      (Previously for PIO data out case, 2 code pathes were used
        - irq case goes through ata_data_out_task() codepath.
        - polling case jumps over the HSM_ST_FIRST state and goes to
HSM_ST and ata_pio_task() directly.)

  ata_dataout_task():
    - rearrange the queue_work() code to handle the PIO data out +
polling case.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c
This page took 0.042448 seconds and 5 git commands to generate.