[IA64] pci_get_legacy_ide_irq should return irq (not GSI)

Function pci_get_legacy_ide_irq is incorrect on ia64. It should return
irq vector instead of GSI. The fixed number 14 and 15 are just GSI.

Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Zhang, Yanmin and committed by Tony Luck 8621235b 860abe8f

+2 -1
+2 -1
include/asm-ia64/pci.h
··· 9 9 10 10 #include <asm/io.h> 11 11 #include <asm/scatterlist.h> 12 + #include <asm/hw_irq.h> 12 13 13 14 /* 14 15 * Can be used to override the logic in pci_scan_bus for skipping already-configured bus ··· 171 170 #define HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ 172 171 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) 173 172 { 174 - return channel ? 15 : 14; 173 + return channel ? isa_irq_to_vector(15) : isa_irq_to_vector(14); 175 174 } 176 175 177 176 #endif /* _ASM_IA64_PCI_H */