Skip to content

Commit

Permalink
[PARISC] Define pci_get_legacy_ide_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Oct 4, 2006
1 parent d207ac0 commit f312094
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-parisc/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit f312094

Please sign in to comment.