diff options
Diffstat (limited to 'include/asm-mips/mach-au1x00/au1000.h')
-rw-r--r-- | include/asm-mips/mach-au1x00/au1000.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h index 5bb57bf2b9d7..a05555165d05 100644 --- a/include/asm-mips/mach-au1x00/au1000.h +++ b/include/asm-mips/mach-au1x00/au1000.h | |||
@@ -3,9 +3,8 @@ | |||
3 | * BRIEF MODULE DESCRIPTION | 3 | * BRIEF MODULE DESCRIPTION |
4 | * Include file for Alchemy Semiconductor's Au1k CPU. | 4 | * Include file for Alchemy Semiconductor's Au1k CPU. |
5 | * | 5 | * |
6 | * Copyright 2000,2001 MontaVista Software Inc. | 6 | * Copyright 2000-2001, 2006-2008 MontaVista Software Inc. |
7 | * Author: MontaVista Software, Inc. | 7 | * Author: MontaVista Software, Inc. <source@mvista.com> |
8 | * ppopov@mvista.com or source@mvista.com | ||
9 | * | 8 | * |
10 | * This program is free software; you can redistribute it and/or modify it | 9 | * This program is free software; you can redistribute it and/or modify it |
11 | * under the terms of the GNU General Public License as published by the | 10 | * under the terms of the GNU General Public License as published by the |
@@ -117,13 +116,6 @@ extern struct au1xxx_irqmap au1xxx_irq_map[]; | |||
117 | 116 | ||
118 | #endif /* !defined (_LANGUAGE_ASSEMBLY) */ | 117 | #endif /* !defined (_LANGUAGE_ASSEMBLY) */ |
119 | 118 | ||
120 | #ifdef CONFIG_PM | ||
121 | /* no CP0 timer irq */ | ||
122 | #define ALLINTS (IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | IE_IRQ3 | IE_IRQ4) | ||
123 | #else | ||
124 | #define ALLINTS (IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | IE_IRQ3 | IE_IRQ4 | IE_IRQ5) | ||
125 | #endif | ||
126 | |||
127 | /* | 119 | /* |
128 | * SDRAM Register Offsets | 120 | * SDRAM Register Offsets |
129 | */ | 121 | */ |
@@ -1693,20 +1685,6 @@ enum soc_au1200_ints { | |||
1693 | #define IOMEM_RESOURCE_START 0x10000000 | 1685 | #define IOMEM_RESOURCE_START 0x10000000 |
1694 | #define IOMEM_RESOURCE_END 0xffffffff | 1686 | #define IOMEM_RESOURCE_END 0xffffffff |
1695 | 1687 | ||
1696 | /* | ||
1697 | * Borrowed from the PPC arch: | ||
1698 | * The following macro is used to lookup irqs in a standard table | ||
1699 | * format for those PPC systems that do not already have PCI | ||
1700 | * interrupts properly routed. | ||
1701 | */ | ||
1702 | /* FIXME - double check this from asm-ppc/pci-bridge.h */ | ||
1703 | #define PCI_IRQ_TABLE_LOOKUP \ | ||
1704 | ({ long _ctl_ = -1; \ | ||
1705 | if (idsel >= min_idsel && idsel <= max_idsel && pin <= irqs_per_slot) \ | ||
1706 | _ctl_ = pci_irq_table[idsel - min_idsel][pin-1]; \ | ||
1707 | _ctl_; }) | ||
1708 | |||
1709 | |||
1710 | #else /* Au1000 and Au1100 and Au1200 */ | 1688 | #else /* Au1000 and Au1100 and Au1200 */ |
1711 | 1689 | ||
1712 | /* don't allow any legacy ports probing */ | 1690 | /* don't allow any legacy ports probing */ |