From 6e286d480b611bfb231d805fc5f45a905f7ba2fd Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Fri, 6 Feb 2004 21:05:55 -0800 Subject: [PATCH] [PATCH] fix ns87415.c for PA-RISC Super I/O chip From: Matthew Wilcox --- drivers/ide/pci/ns87415.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/pci/ns87415.c b/drivers/ide/pci/ns87415.c index a23ee42f00057..4dd37cd44e766 100644 --- a/drivers/ide/pci/ns87415.c +++ b/drivers/ide/pci/ns87415.c @@ -198,7 +198,7 @@ static void __init init_hwif_ns87415 (ide_hwif_t *hwif) } if (!using_inta) - hwif->irq = hwif->channel ? 15 : 14; /* legacy mode */ + hwif->irq = ide_default_irq(hwif->io_ports[IDE_DATA_OFFSET]); else if (!hwif->irq && hwif->mate && hwif->mate->irq) hwif->irq = hwif->mate->irq; /* share IRQ with mate */ -- 2.53.0