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/tx4938ide.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/tx4938ide.c')
-rw-r--r-- | drivers/ide/tx4938ide.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/tx4938ide.c b/drivers/ide/tx4938ide.c index 1c4a78ac1a20..ec3aa32fbbe0 100644 --- a/drivers/ide/tx4938ide.c +++ b/drivers/ide/tx4938ide.c | |||
@@ -204,8 +204,7 @@ static const struct ide_tp_ops tx4938ide_tp_ops = { | |||
204 | .exec_command = ide_exec_command, | 204 | .exec_command = ide_exec_command, |
205 | .read_status = ide_read_status, | 205 | .read_status = ide_read_status, |
206 | .read_altstatus = ide_read_altstatus, | 206 | .read_altstatus = ide_read_altstatus, |
207 | 207 | .write_devctl = ide_write_devctl, | |
208 | .set_irq = ide_set_irq, | ||
209 | 208 | ||
210 | .tf_load = tx4938ide_tf_load, | 209 | .tf_load = tx4938ide_tf_load, |
211 | .tf_read = tx4938ide_tf_read, | 210 | .tf_read = tx4938ide_tf_read, |