diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-04-22 15:28:57 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:31 -0400 |
commit | 6ed436932d1417534aa1a738fd9585795f954304 (patch) | |
tree | d352670d3a4f008f205cac5f24eba195a00ab239 /include/asm-mips | |
parent | 66140c8e9f0d978bd26c58f236d0d86aa666d8fc (diff) |
[MIPS] Alchemy: kill unused PCI_IRQ_TABLE_LOOKUP macro
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/mach-au1x00/au1000.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h index a88637a93e01..a05555165d05 100644 --- a/include/asm-mips/mach-au1x00/au1000.h +++ b/include/asm-mips/mach-au1x00/au1000.h | |||
@@ -1685,20 +1685,6 @@ enum soc_au1200_ints { | |||
1685 | #define IOMEM_RESOURCE_START 0x10000000 | 1685 | #define IOMEM_RESOURCE_START 0x10000000 |
1686 | #define IOMEM_RESOURCE_END 0xffffffff | 1686 | #define IOMEM_RESOURCE_END 0xffffffff |
1687 | 1687 | ||
1688 | /* | ||
1689 | * Borrowed from the PPC arch: | ||
1690 | * The following macro is used to lookup irqs in a standard table | ||
1691 | * format for those PPC systems that do not already have PCI | ||
1692 | * interrupts properly routed. | ||
1693 | */ | ||
1694 | /* FIXME - double check this from asm-ppc/pci-bridge.h */ | ||
1695 | #define PCI_IRQ_TABLE_LOOKUP \ | ||
1696 | ({ long _ctl_ = -1; \ | ||
1697 | if (idsel >= min_idsel && idsel <= max_idsel && pin <= irqs_per_slot) \ | ||
1698 | _ctl_ = pci_irq_table[idsel - min_idsel][pin-1]; \ | ||
1699 | _ctl_; }) | ||
1700 | |||
1701 | |||
1702 | #else /* Au1000 and Au1100 and Au1200 */ | 1688 | #else /* Au1000 and Au1100 and Au1200 */ |
1703 | 1689 | ||
1704 | /* don't allow any legacy ports probing */ | 1690 | /* don't allow any legacy ports probing */ |