diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-09-20 05:37:09 +0400 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 16:50:55 +0400 |
commit | f312094556619aed849862089938c14aa6a5b84b (patch) | |
tree | fd16c56f8ecc6521d92eab6e4204d5e059eaf511 /include/asm-parisc | |
parent | d207ac0f7c9736782bfa51cff2109b74d26c3622 (diff) | |
download | linux-f312094556619aed849862089938c14aa6a5b84b.tar.xz |
[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/asm-parisc')
-rw-r--r-- | include/asm-parisc/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-parisc/pci.h b/include/asm-parisc/pci.h index 8b631f47eb25..7b8ad118d2fe 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 */ |