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 /drivers/ide/tx4939ide.c | |
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 'drivers/ide/tx4939ide.c')
-rw-r--r-- | drivers/ide/tx4939ide.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c index 77aee5b2ce95..43bc0372413a 100644 --- a/drivers/ide/tx4939ide.c +++ b/drivers/ide/tx4939ide.c | |||
@@ -571,8 +571,7 @@ static const struct ide_tp_ops tx4939ide_tp_ops = { | |||
571 | .exec_command = ide_exec_command, | 571 | .exec_command = ide_exec_command, |
572 | .read_status = ide_read_status, | 572 | .read_status = ide_read_status, |
573 | .read_altstatus = ide_read_altstatus, | 573 | .read_altstatus = ide_read_altstatus, |
574 | 574 | .write_devctl = ide_write_devctl, | |
575 | .set_irq = ide_set_irq, | ||
576 | 575 | ||
577 | .tf_load = tx4939ide_tf_load, | 576 | .tf_load = tx4939ide_tf_load, |
578 | .tf_read = tx4939ide_tf_read, | 577 | .tf_read = tx4939ide_tf_read, |
@@ -595,8 +594,7 @@ static const struct ide_tp_ops tx4939ide_tp_ops = { | |||
595 | .exec_command = ide_exec_command, | 594 | .exec_command = ide_exec_command, |
596 | .read_status = ide_read_status, | 595 | .read_status = ide_read_status, |
597 | .read_altstatus = ide_read_altstatus, | 596 | .read_altstatus = ide_read_altstatus, |
598 | 597 | .write_devctl = ide_write_devctl, | |
599 | .set_irq = ide_set_irq, | ||
600 | 598 | ||
601 | .tf_load = tx4939ide_tf_load, | 599 | .tf_load = tx4939ide_tf_load, |
602 | .tf_read = ide_tf_read, | 600 | .tf_read = ide_tf_read, |