aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:42 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:42 -0400
commitbfa7d8e55f0c5ae22ef57eb22942c74fdde7b9bd (patch)
tree2e21bf3c435a6a6646dd720652e33f0aacdb7b85 /include
parenta9ab09e26055a76295548ca36ec00de2f4367d32 (diff)
ide: ->ide_dma_clear_irq() -> ->clear_irq()
* Rename ->ide_dma_clear_irq method to ->clear_irq and move it from ide_hwif_t to struct ide_port_ops. * Move ->waiting_for_dma check inside ->clear_irq method. * Move ->dma_base check inside ->clear_irq method. piix.c: * Add ich_port_ops and remove init_hwif_ich() wrapper. There should be no functional changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 14d489c2e5a9..37a4344f3842 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -704,6 +704,7 @@ extern const struct ide_tp_ops default_tp_ops;
704 * @resetproc: routine to reset controller after a disk reset 704 * @resetproc: routine to reset controller after a disk reset
705 * @maskproc: special host masking for drive selection 705 * @maskproc: special host masking for drive selection
706 * @quirkproc: check host's drive quirk list 706 * @quirkproc: check host's drive quirk list
707 * @clear_irq: clear IRQ
707 * 708 *
708 * @mdma_filter: filter MDMA modes 709 * @mdma_filter: filter MDMA modes
709 * @udma_filter: filter UDMA modes 710 * @udma_filter: filter UDMA modes
@@ -720,6 +721,7 @@ struct ide_port_ops {
720 void (*resetproc)(ide_drive_t *); 721 void (*resetproc)(ide_drive_t *);
721 void (*maskproc)(ide_drive_t *, int); 722 void (*maskproc)(ide_drive_t *, int);
722 void (*quirkproc)(ide_drive_t *); 723 void (*quirkproc)(ide_drive_t *);
724 void (*clear_irq)(ide_drive_t *);
723 725
724 u8 (*mdma_filter)(ide_drive_t *); 726 u8 (*mdma_filter)(ide_drive_t *);
725 u8 (*udma_filter)(ide_drive_t *); 727 u8 (*udma_filter)(ide_drive_t *);
@@ -782,8 +784,6 @@ typedef struct hwif_s {
782 const struct ide_port_ops *port_ops; 784 const struct ide_port_ops *port_ops;
783 const struct ide_dma_ops *dma_ops; 785 const struct ide_dma_ops *dma_ops;
784 786
785 void (*ide_dma_clear_irq)(ide_drive_t *drive);
786
787 /* dma physical region descriptor table (cpu view) */ 787 /* dma physical region descriptor table (cpu view) */
788 unsigned int *dmatable_cpu; 788 unsigned int *dmatable_cpu;
789 /* dma physical region descriptor table (dma view) */ 789 /* dma physical region descriptor table (dma view) */