diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> | 2004-09-09 21:03:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-09 21:03:44 -0700 |
| commit | 3c655432c67b672e7275ab8a51c30882f80e6c4f (patch) | |
| tree | a0b0f3f203e5add61f8f502ff6e66e2622b05032 /include/linux | |
| parent | 64ad1bfddf542773c18d197f3a188fa06193f6aa (diff) | |
[PATCH] ide: add ide_hwif_t->data_phase
Use it for taskfile requests (only PIO/DMA for now) for storing
ide_task_t->data_phase of the active command.
Also add some missing task->data_phase assignments.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 6690c37c9304..b39287b1fa5e 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -931,6 +931,9 @@ typedef struct hwif_s { int sg_dma_direction; /* dma transfer direction */ int sg_dma_active; /* is it in use */ + /* data phase of the active command (currently only valid for PIO/DMA) */ + int data_phase; + int mmio; /* hosts iomio (0) or custom (2) select */ int rqsize; /* max sectors per request */ int irq; /* our irq number */ |
