aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-09-19 19:37:09 -0600
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-04 06:50:55 -0600
commitf312094556619aed849862089938c14aa6a5b84b (patch)
treefd16c56f8ecc6521d92eab6e4204d5e059eaf511 /include
parentd207ac0f7c9736782bfa51cff2109b74d26c3622 (diff)
[PARISC] Define pci_get_legacy_ide_irq
We can compile at least one IDE driver that refers to this. We can't use the asm-generic file because we have our own definitions of pcibios_resource_to_bus etc. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-parisc/pci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-parisc/pci.h b/include/asm-parisc/pci.h
index 8b631f47eb2..7b8ad118d2f 100644
--- a/include/asm-parisc/pci.h
+++ b/include/asm-parisc/pci.h
@@ -293,4 +293,9 @@ static inline void pcibios_penalize_isa_irq(int irq, int active)
/* We don't need to penalize isa irq's */
}
+static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
+{
+ return channel ? 15 : 14;
+}
+
#endif /* __ASM_PARISC_PCI_H */