projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
213e4b0
)
ns87415: use pci_get_legacy_ide_irq()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:48 +0000
(23:22 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:48 +0000
(23:22 +0100)
Fix ->init_hwif to use pci_get_legacy_ide_irq() instead of
__ide_default_irq().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ns87415.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ns87415.c
b/drivers/ide/ns87415.c
index 83643ed9a426d1a43390987871e1839e5769d7eb..56042a36d635bd8f57d400d86fe4fe424eb5a311 100644
(file)
--- a/
drivers/ide/ns87415.c
+++ b/
drivers/ide/ns87415.c
@@
-286,7
+286,7
@@
static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif)
}
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)
hwif->irq = hwif->mate->irq; /* share IRQ with mate */