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>
This commit is contained in:
committed by
Bartlomiej Zolnierkiewicz
parent
4d74c3fcf2
commit
ecf3a31d2a
@@ -494,7 +494,9 @@ repeat:
|
||||
* quirk_list may not like intr setups/cleanups
|
||||
*/
|
||||
if (prev_port && prev_port->cur_dev->quirk_list == 0)
|
||||
prev_port->tp_ops->set_irq(prev_port, 0);
|
||||
prev_port->tp_ops->write_devctl(prev_port,
|
||||
ATA_NIEN |
|
||||
ATA_DEVCTL_OBS);
|
||||
|
||||
hwif->host->cur_port = hwif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user