Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/omap am335x's main interrupt source is 128.



details:   https://anonhg.NetBSD.org/src/rev/fd634999e629
branches:  trunk
changeset: 818254:fd634999e629
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Tue Oct 04 15:54:09 2016 +0000

description:
am335x's main interrupt source is 128.

diffstat:

 sys/arch/arm/omap/omap2430_intr.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 622f57fe62fb -r fd634999e629 sys/arch/arm/omap/omap2430_intr.h
--- a/sys/arch/arm/omap/omap2430_intr.h Tue Oct 04 15:51:34 2016 +0000
+++ b/sys/arch/arm/omap/omap2430_intr.h Tue Oct 04 15:54:09 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: omap2430_intr.h,v 1.4 2012/07/14 07:42:57 matt Exp $ */
+/*     $NetBSD: omap2430_intr.h,v 1.5 2016/10/04 15:54:09 kiyohara Exp $ */
 
 /*
  * Define the SDP2430 specific information and then include the generic OMAP
@@ -161,7 +161,11 @@
 #define        IRQ_MMC3                94      /* (3530) MMC/SD module 3 */
 #define        IRQ_GPT12_3530          95      /* (3530) GPT12 */
 
+#if defined(TI_AM335X)
+#define        PIC_MAXSOURCES          128
+#else
 #define        PIC_MAXSOURCES          96
+#endif
 #define        PIC_MAXMAXSOURCES       (PIC_MAXSOURCES+192)
 
 void omap_irq_handler(void *);



Home | Main Index | Thread Index | Old Index