From 76590d1f009ebca7e493c8f90a8c7fc14e17708b Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Sat, 27 Jan 2007 13:46:54 +0100 Subject: [PATCH] --- yaml --- r: 45966 b: refs/heads/master c: 677c0a78f6bf7aa87c90c4e015e014a17132c634 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-ia64/pci.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6dfcb804ae79..23663bc638d5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3e9e4c8606127592cda22159cc2440ea48963ae4 +refs/heads/master: 677c0a78f6bf7aa87c90c4e015e014a17132c634 diff --git a/trunk/include/asm-ia64/pci.h b/trunk/include/asm-ia64/pci.h index 556f53fa44cb..5160233bbfac 100644 --- a/trunk/include/asm-ia64/pci.h +++ b/trunk/include/asm-ia64/pci.h @@ -167,4 +167,10 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res) #define pcibios_scan_all_fns(a, b) 0 +#define HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ +static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) +{ + return channel ? 15 : 14; +} + #endif /* _ASM_IA64_PCI_H */