diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index aae4806f0603..7989f521b801 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -562,6 +562,9 @@ void ide_pci_setup_ports(struct pci_dev *dev, ide_pci_device_t *d, int pciirq, a | |||
562 | if ((d->host_flags & IDE_HFLAG_NO_DMA) == 0) | 562 | if ((d->host_flags & IDE_HFLAG_NO_DMA) == 0) |
563 | ide_hwif_setup_dma(dev, d, hwif); | 563 | ide_hwif_setup_dma(dev, d, hwif); |
564 | 564 | ||
565 | if ((d->host_flags & IDE_HFLAG_LEGACY_IRQS) && hwif->irq == 0) | ||
566 | hwif->irq = port ? 15 : 14; | ||
567 | |||
565 | hwif->host_flags = d->host_flags; | 568 | hwif->host_flags = d->host_flags; |
566 | hwif->pio_mask = d->pio_mask; | 569 | hwif->pio_mask = d->pio_mask; |
567 | 570 | ||