ns87415: use pci_get_legacy_ide_irq()
Fix ->init_hwif to use pci_get_legacy_ide_irq() instead of __ide_default_irq(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Родитель
213e4b0a34
Коммит
973d9e7439
|
@ -286,7 +286,7 @@ static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!using_inta)
|
if (!using_inta)
|
||||||
hwif->irq = __ide_default_irq(hwif->io_ports.data_addr);
|
hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel);
|
||||||
else if (!hwif->irq && hwif->mate && hwif->mate->irq)
|
else if (!hwif->irq && hwif->mate && hwif->mate->irq)
|
||||||
hwif->irq = hwif->mate->irq; /* share IRQ with mate */
|
hwif->irq = hwif->mate->irq; /* share IRQ with mate */
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче