diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 6 |
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 *); | |||
1160 | extern int ide_release_dma(ide_hwif_t *); | 1159 | extern int ide_release_dma(ide_hwif_t *); |
1161 | extern void ide_setup_dma(ide_hwif_t *, unsigned long, unsigned int); | 1160 | extern void ide_setup_dma(ide_hwif_t *, unsigned long, unsigned int); |
1162 | 1161 | ||
1163 | void ide_dma_host_off(ide_drive_t *); | 1162 | void ide_dma_host_set(ide_drive_t *, int); |
1164 | void ide_dma_host_on(ide_drive_t *); | ||
1165 | extern int ide_dma_setup(ide_drive_t *); | 1163 | extern int ide_dma_setup(ide_drive_t *); |
1166 | extern void ide_dma_start(ide_drive_t *); | 1164 | extern void ide_dma_start(ide_drive_t *); |
1167 | extern int __ide_dma_end(ide_drive_t *); | 1165 | extern int __ide_dma_end(ide_drive_t *); |