All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] MIPS: ath79: modify number of available IRQs
@ 2011-06-05 21:38 Gabor Juhos
  2011-06-05 21:38 ` [PATCH v2 2/3] MIPS: ath79: handle more MISC IRQs Gabor Juhos
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gabor Juhos @ 2011-06-05 21:38 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, Gabor Juhos

The status register of the miscellaneous interrupt controller
is 32 bits wide, but the actual value of NR_IRQS covers only 8
of them. Modify NR_IRQS in order to make all of those interrupt
lines usable.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
Changes since v1:
- change the subject line

 arch/mips/include/asm/mach-ath79/irq.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/include/asm/mach-ath79/irq.h b/arch/mips/include/asm/mach-ath79/irq.h
index 189bc6e..cffbeab 100644
--- a/arch/mips/include/asm/mach-ath79/irq.h
+++ b/arch/mips/include/asm/mach-ath79/irq.h
@@ -10,10 +10,10 @@
 #define __ASM_MACH_ATH79_IRQ_H
 
 #define MIPS_CPU_IRQ_BASE	0
-#define NR_IRQS			16
+#define NR_IRQS			40
 
 #define ATH79_MISC_IRQ_BASE	8
-#define ATH79_MISC_IRQ_COUNT	8
+#define ATH79_MISC_IRQ_COUNT	32
 
 #define ATH79_CPU_IRQ_IP2	(MIPS_CPU_IRQ_BASE + 2)
 #define ATH79_CPU_IRQ_USB	(MIPS_CPU_IRQ_BASE + 3)
-- 
1.7.2.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-16 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 21:38 [PATCH v2 1/3] MIPS: ath79: modify number of available IRQs Gabor Juhos
2011-06-05 21:38 ` [PATCH v2 2/3] MIPS: ath79: handle more MISC IRQs Gabor Juhos
2011-11-16 19:14   ` Ralf Baechle
2011-06-05 21:38 ` [PATCH v2 3/3] MIPS: ath79: add common USB Host Controller device Gabor Juhos
2011-11-16 19:14   ` Ralf Baechle
2011-11-16 19:14 ` [PATCH v2 1/3] MIPS: ath79: modify number of available IRQs Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.