diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2006-03-25 04:48:02 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-29 17:21:54 -0500 |
commit | bb5cb290f095f17f88c912e3da35adf5b2d9500b (patch) | |
tree | cf8cbbfc3419988f869b4527c8be5d63361b3eb2 /drivers/net/myri_code.h | |
parent | 6912ccd5a4a095d71fd7215ef2abea877c8fed6f (diff) |
[PATCH] libata-dev: Let ata_hsm_move() work with both irq-pio and polling pio
Let ata_hsm_move() work with both irq-pio and polling pio codepath.
Changes:
- add a new parameter "in_wq" for polling pio
- add return value "poll_next" to tell polling pio task whether the HSM is finished
- merge code from ata_pio_first_block() to the HSM_ST_FIRST state.
- call ata_poll_qc_complete() if called from the workqueue
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri_code.h')
0 files changed, 0 insertions, 0 deletions