Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/samsung Move the mct's interrupt from a shared ...
details: https://anonhg.NetBSD.org/src/rev/17c40d0015b0
branches: trunk
changeset: 331873:17c40d0015b0
user: reinoud <reinoud%NetBSD.org@localhost>
date: Thu Aug 28 11:38:14 2014 +0000
description:
Move the mct's interrupt from a shared SPI interrupt to a private PPI
interrupt so all possible cpus get them.
diffstat:
sys/arch/arm/samsung/exynos4_loc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 190a59bffe7b -r 17c40d0015b0 sys/arch/arm/samsung/exynos4_loc.c
--- a/sys/arch/arm/samsung/exynos4_loc.c Thu Aug 28 08:29:50 2014 +0000
+++ b/sys/arch/arm/samsung/exynos4_loc.c Thu Aug 28 11:38:14 2014 +0000
@@ -139,6 +139,10 @@
#define IRQ_EINT_1 IRQ_SPI(17)
#define IRQ_EINT_0 IRQ_SPI(16)
+/* rest of PPI's marked reserved */
+#define IRQ_MCT_L IRQ_PPI(12)
+#define IRQ_MCT_G IRQ_PPI(10)
+
#define IRQ_CPU_NIRQOUT_3 EXYNOS_COMBINERIRQ(19, 6)
#define IRQ_PARITYFAILSCU_3 EXYNOS_COMBINERIRQ(19, 5)
#define IRQ_PARITYFAIL3 EXYNOS_COMBINERIRQ(19, 4)
@@ -266,7 +270,7 @@
static const struct exyo_locators exynos4_locators[] = {
{ "exyogpio", 0, 0, NOPORT, NOINTR, 0 },
{ "exyoiic", 0, 0, NOPORT, NOINTR, 0 },
- { "mct", OFFANDSIZE(,MCT), NOPORT, IRQ_G0_IRQ, 0 },
+ { "mct", OFFANDSIZE(,MCT), NOPORT, IRQ_MCT_G, 0 },
{ "exyowdt", OFFANDSIZE(,WDT), NOPORT, IRQ_WDT, 0 },
{ "sscom", OFFANDSIZE(,UART0), 0, IRQ_UART0, 0 },
{ "sscom", OFFANDSIZE(,UART1), 1, IRQ_UART1, 0 },
Home |
Main Index |
Thread Index |
Old Index