aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 140864d63aed..ffb76d0d0814 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -542,14 +542,13 @@ typedef struct hwif_s {
542 void (*atapi_input_bytes)(ide_drive_t *, void *, u32); 542 void (*atapi_input_bytes)(ide_drive_t *, void *, u32);
543 void (*atapi_output_bytes)(ide_drive_t *, void *, u32); 543 void (*atapi_output_bytes)(ide_drive_t *, void *, u32);
544 544
545 void (*dma_host_set)(ide_drive_t *, int);
545 int (*dma_setup)(ide_drive_t *); 546 int (*dma_setup)(ide_drive_t *);
546 void (*dma_exec_cmd)(ide_drive_t *, u8); 547 void (*dma_exec_cmd)(ide_drive_t *, u8);
547 void (*dma_start)(ide_drive_t *); 548 void (*dma_start)(ide_drive_t *);
548 int (*ide_dma_end)(ide_drive_t *drive); 549 int (*ide_dma_end)(ide_drive_t *drive);
549 int (*ide_dma_test_irq)(ide_drive_t *drive); 550 int (*ide_dma_test_irq)(ide_drive_t *drive);
550 void (*ide_dma_clear_irq)(ide_drive_t *drive); 551 void (*ide_dma_clear_irq)(ide_drive_t *drive);
551 void (*dma_host_on)(ide_drive_t *drive);
552 void (*dma_host_off)(ide_drive_t *drive);
553 void (*dma_lost_irq)(ide_drive_t *drive); 552 void (*dma_lost_irq)(ide_drive_t *drive);
554 void (*dma_timeout)(ide_drive_t *drive); 553 void (*dma_timeout)(ide_drive_t *drive);
555 554
@@ -1160,8 +1159,7 @@ extern void ide_destroy_dmatable(ide_drive_t *);
1160extern int ide_release_dma(ide_hwif_t *); 1159extern int ide_release_dma(ide_hwif_t *);
1161extern void ide_setup_dma(ide_hwif_t *, unsigned long, unsigned int); 1160extern void ide_setup_dma(ide_hwif_t *, unsigned long, unsigned int);
1162 1161
1163void ide_dma_host_off(ide_drive_t *); 1162void ide_dma_host_set(ide_drive_t *, int);
1164void ide_dma_host_on(ide_drive_t *);
1165extern int ide_dma_setup(ide_drive_t *); 1163extern int ide_dma_setup(ide_drive_t *);
1166extern void ide_dma_start(ide_drive_t *); 1164extern void ide_dma_start(ide_drive_t *);
1167extern int __ide_dma_end(ide_drive_t *); 1165extern int __ide_dma_end(ide_drive_t *);