aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2009-03-31 14:15:30 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-31 14:15:30 -0400
commitecf3a31d2a08a419bdf919456f1724f5b72bde2c (patch)
tree11a5b4685425541fa4bb267ac6f897cb1c38ba41 /include/linux/ide.h
parent4d74c3fcf2b90487eacec511bc8c07177711c81c (diff)
ide: turn set_irq() method into write_devctl() method
Turn set_irq() method with its software reset hack into write_devctl() method (for just writing a value into the device control register) at last... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
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 836c4c6cb7e3..ccb70abe991b 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -655,8 +655,7 @@ struct ide_tp_ops {
655 void (*exec_command)(struct hwif_s *, u8); 655 void (*exec_command)(struct hwif_s *, u8);
656 u8 (*read_status)(struct hwif_s *); 656 u8 (*read_status)(struct hwif_s *);
657 u8 (*read_altstatus)(struct hwif_s *); 657 u8 (*read_altstatus)(struct hwif_s *);
658 658 void (*write_devctl)(struct hwif_s *, u8);
659 void (*set_irq)(struct hwif_s *, int);
660 659
661 void (*tf_load)(ide_drive_t *, struct ide_cmd *); 660 void (*tf_load)(ide_drive_t *, struct ide_cmd *);
662 void (*tf_read)(ide_drive_t *, struct ide_cmd *); 661 void (*tf_read)(ide_drive_t *, struct ide_cmd *);
@@ -1165,8 +1164,7 @@ void ide_tf_dump(const char *, struct ide_taskfile *);
1165void ide_exec_command(ide_hwif_t *, u8); 1164void ide_exec_command(ide_hwif_t *, u8);
1166u8 ide_read_status(ide_hwif_t *); 1165u8 ide_read_status(ide_hwif_t *);
1167u8 ide_read_altstatus(ide_hwif_t *); 1166u8 ide_read_altstatus(ide_hwif_t *);
1168 1167void ide_write_devctl(ide_hwif_t *, u8);
1169void ide_set_irq(ide_hwif_t *, int);
1170 1168
1171void ide_tf_load(ide_drive_t *, struct ide_cmd *); 1169void ide_tf_load(ide_drive_t *, struct ide_cmd *);
1172void ide_tf_read(ide_drive_t *, struct ide_cmd *); 1170void ide_tf_read(ide_drive_t *, struct ide_cmd *);