summaryrefslogtreecommitdiff
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2004-10-20 02:00:15 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2004-10-20 02:00:15 +0200
commite40ed6c72edad47e93fd69b2702317352f31cd21 (patch)
tree5001632d6deb1d861184aa4fd7f40d79b6c75a18 /include/linux/ide.h
parentb925236ddb6a73d854f8839ceebce8c91cef90bb (diff)
[ide] add ide_hwif_t->dma_exec_cmd()
* split off ->dma_exec_cmd() from ->ide_dma_[read,write] functions * choose command to execute by ->dma_exec_cmd() in higher layers and remove ->ide_dma_[read,write] * in Etrax ide.c driver REQ_DRIVE_TASKFILE requests weren't handled properly for drive->addressing == 0 * in trm290.c read and write commands were interchanged * in sgiioc4.c commands weren't sent to disk devices Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 54b89ce7435a..d1a78fe8a1ed 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -888,8 +888,7 @@ typedef struct hwif_s {
void (*atapi_output_bytes)(ide_drive_t *, void *, u32);
int (*dma_setup)(ide_drive_t *);
- int (*ide_dma_read)(ide_drive_t *drive);
- int (*ide_dma_write)(ide_drive_t *drive);
+ void (*dma_exec_cmd)(ide_drive_t *, u8);
int (*ide_dma_begin)(ide_drive_t *drive);
int (*ide_dma_end)(ide_drive_t *drive);
int (*ide_dma_check)(ide_drive_t *drive);