diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-03-31 14:15:30 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:30 -0400 |
commit | ecf3a31d2a08a419bdf919456f1724f5b72bde2c (patch) | |
tree | 11a5b4685425541fa4bb267ac6f897cb1c38ba41 /include/linux/ide.h | |
parent | 4d74c3fcf2b90487eacec511bc8c07177711c81c (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.h | 6 |
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 *); | |||
1165 | void ide_exec_command(ide_hwif_t *, u8); | 1164 | void ide_exec_command(ide_hwif_t *, u8); |
1166 | u8 ide_read_status(ide_hwif_t *); | 1165 | u8 ide_read_status(ide_hwif_t *); |
1167 | u8 ide_read_altstatus(ide_hwif_t *); | 1166 | u8 ide_read_altstatus(ide_hwif_t *); |
1168 | 1167 | void ide_write_devctl(ide_hwif_t *, u8); | |
1169 | void ide_set_irq(ide_hwif_t *, int); | ||
1170 | 1168 | ||
1171 | void ide_tf_load(ide_drive_t *, struct ide_cmd *); | 1169 | void ide_tf_load(ide_drive_t *, struct ide_cmd *); |
1172 | void ide_tf_read(ide_drive_t *, struct ide_cmd *); | 1170 | void ide_tf_read(ide_drive_t *, struct ide_cmd *); |