Hi Steven,

On 09/06/12 07:15, Steven King wrote:
Extending the interrupt controller code in  intc-simr.c to support the third
interrupt controller on the m5441x means we need to add defines (as 0) for the
third interrupt controller on devices that don't have a third interrupt
controller.

Signed-off-by: Steven King<sfk...@fdwdc.com>

Thanks :-)
Applied to m68knommu git tree (for-next branch).

Regards
Greg


---
  arch/m68k/include/asm/m520xsim.h |    3 +++
  arch/m68k/include/asm/m532xsim.h |    3 +++
  2 files changed, 6 insertions(+)

diff --git a/arch/m68k/include/asm/m520xsim.h b/arch/m68k/include/asm/m520xsim.h
index 17f2aab..f8cfb39 100644
--- a/arch/m68k/include/asm/m520xsim.h
+++ b/arch/m68k/include/asm/m520xsim.h
@@ -42,6 +42,9 @@
  #define MCFINTC1_SIMR       (0)
  #define MCFINTC1_CIMR       (0)
  #define       MCFINTC1_ICR0       (0)
+#define MCFINTC2_SIMR       (0)
+#define MCFINTC2_CIMR       (0)
+#define MCFINTC2_ICR0       (0)

  #define MCFINT_VECBASE      64
  #define MCFINT_UART0        26          /* Interrupt number for UART0 */
diff --git a/arch/m68k/include/asm/m532xsim.h b/arch/m68k/include/asm/m532xsim.h
index 29b66e2..8d86020 100644
--- a/arch/m68k/include/asm/m532xsim.h
+++ b/arch/m68k/include/asm/m532xsim.h
@@ -82,6 +82,9 @@
  #define       MCFINTC1_SIMR           0xFC04C01C
  #define       MCFINTC1_CIMR           0xFC04C01D
  #define       MCFINTC1_ICR0           0xFC04C040
+#define MCFINTC2_SIMR          (0)
+#define MCFINTC2_CIMR          (0)
+#define MCFINTC2_ICR0          (0)

  #define MCFSIM_ICR_TIMER1     (0xFC048040+32)
  #define MCFSIM_ICR_TIMER2     (0xFC048040+33)





--
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to