aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-14 11:49:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-14 11:49:51 +0000
commit546895e93802cf1899d25bf5fd52d217d8e7af1a (patch)
tree1c7e133c5c843ef7470ee1a1c105cdb4111cdbf9 /target/linux/ar71xx/files/arch/mips/include
parenta921ab0827ad3cbb8e740454f9dc3d1e14a7da4f (diff)
downloadmaster-187ad058-546895e93802cf1899d25bf5fd52d217d8e7af1a.tar.gz
master-187ad058-546895e93802cf1899d25bf5fd52d217d8e7af1a.tar.bz2
master-187ad058-546895e93802cf1899d25bf5fd52d217d8e7af1a.zip
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include')
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
index 46346648fa..fe2d9a32bc 100644
--- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
@@ -89,7 +89,9 @@
#define AR71XX_GPIO_IRQ_BASE 40
#define AR71XX_GPIO_IRQ_COUNT 32
#define AR71XX_PCI_IRQ_BASE 72
-#define AR71XX_PCI_IRQ_COUNT 8
+#define AR71XX_PCI_IRQ_COUNT 6
+#define AR934X_IP2_IRQ_BASE 78
+#define AR934X_IP2_IRQ_COUNT 2
#define AR71XX_CPU_IRQ_IP2 (AR71XX_CPU_IRQ_BASE + 2)
#define AR71XX_CPU_IRQ_USB (AR71XX_CPU_IRQ_BASE + 3)
@@ -119,6 +121,9 @@
#define AR71XX_PCI_IRQ_DEV2 (AR71XX_PCI_IRQ_BASE + 2)
#define AR71XX_PCI_IRQ_CORE (AR71XX_PCI_IRQ_BASE + 4)
+#define AR934X_IP2_IRQ_WMAC (AR934X_IP2_IRQ_BASE + 0)
+#define AR934X_IP2_IRQ_PCIE (AR934X_IP2_IRQ_BASE + 1)
+
extern u32 ar71xx_ahb_freq;
extern u32 ar71xx_cpu_freq;
extern u32 ar71xx_ddr_freq;