* [PATCH 01/10] txx9: Fix jmr3927 irq numbers
@ 2008-07-23 15:25 Atsushi Nemoto
2008-07-29 16:13 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2008-07-23 15:25 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
* Fix wrong txx9_clockevent interrupt number
* Fix TXX9_IRQ_BASE for JMR3927+FPCIB case
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
arch/mips/txx9/jmr3927/setup.c | 2 +-
include/asm-mips/txx9irq.h | 4 ++++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/mips/txx9/jmr3927/setup.c b/arch/mips/txx9/jmr3927/setup.c
index 03647eb..57dc91e 100644
--- a/arch/mips/txx9/jmr3927/setup.c
+++ b/arch/mips/txx9/jmr3927/setup.c
@@ -85,7 +85,7 @@ static void jmr3927_machine_power_off(void)
static void __init jmr3927_time_init(void)
{
txx9_clockevent_init(TX3927_TMR_REG(0),
- TXX9_IRQ_BASE + JMR3927_IRQ_IRC_TMR(0),
+ JMR3927_IRQ_IRC_TMR(0),
JMR3927_IMCLK);
txx9_clocksource_init(TX3927_TMR_REG(1), JMR3927_IMCLK);
}
diff --git a/include/asm-mips/txx9irq.h b/include/asm-mips/txx9irq.h
index 1c439e5..5620879 100644
--- a/include/asm-mips/txx9irq.h
+++ b/include/asm-mips/txx9irq.h
@@ -14,8 +14,12 @@
#ifdef CONFIG_IRQ_CPU
#define TXX9_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8)
#else
+#ifdef CONFIG_I8259
+#define TXX9_IRQ_BASE (I8259A_IRQ_BASE + 16)
+#else
#define TXX9_IRQ_BASE 0
#endif
+#endif
#ifdef CONFIG_CPU_TX39XX
#define TXx9_MAX_IR 16
--
1.5.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 01/10] txx9: Fix jmr3927 irq numbers
2008-07-23 15:25 [PATCH 01/10] txx9: Fix jmr3927 irq numbers Atsushi Nemoto
@ 2008-07-29 16:13 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-07-29 16:13 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
On Thu, Jul 24, 2008 at 12:25:12AM +0900, Atsushi Nemoto wrote:
Applied. Thanks Atsushi-San!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-29 16:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 15:25 [PATCH 01/10] txx9: Fix jmr3927 irq numbers Atsushi Nemoto
2008-07-29 16:13 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox