Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/alchemy + Fix IPL_VM sr_bits for alchemy_ipl_s...



details:   https://anonhg.NetBSD.org/src/rev/64ba4c332cdb
branches:  trunk
changeset: 772725:64ba4c332cdb
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Jan 14 16:09:19 2012 +0000

description:
+ Fix IPL_VM sr_bits for alchemy_ipl_sr_map.  Alchemy peripherals connects to
  MIPS_INT_MASK_[0-3].
+ Also add IPL_DDB.

diffstat:

 sys/arch/mips/alchemy/au_icu.c |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r a96f3b637a86 -r 64ba4c332cdb sys/arch/mips/alchemy/au_icu.c
--- a/sys/arch/mips/alchemy/au_icu.c    Sat Jan 14 13:46:56 2012 +0000
+++ b/sys/arch/mips/alchemy/au_icu.c    Sat Jan 14 16:09:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: au_icu.c,v 1.28 2011/07/10 23:13:23 matt Exp $ */
+/*     $NetBSD: au_icu.c,v 1.29 2012/01/14 16:09:19 kiyohara Exp $     */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: au_icu.c,v 1.28 2011/07/10 23:13:23 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: au_icu.c,v 1.29 2012/01/14 16:09:19 kiyohara Exp $");
 
 #include "opt_ddb.h"
 #define __INTR_PRIVATE
@@ -99,8 +99,13 @@
        [IPL_SOFTBIO] =         MIPS_SOFT_INT_MASK_0,
        [IPL_SOFTNET] =         MIPS_SOFT_INT_MASK,
        [IPL_SOFTSERIAL] =      MIPS_SOFT_INT_MASK,
-       [IPL_VM] =              MIPS_SOFT_INT_MASK|MIPS_INT_MASK_0,
+       [IPL_VM] =              MIPS_SOFT_INT_MASK |
+                               MIPS_INT_MASK_0 |
+                               MIPS_INT_MASK_1 |
+                               MIPS_INT_MASK_2 |
+                               MIPS_INT_MASK_3,
        [IPL_SCHED] =           MIPS_INT_MASK,
+       [IPL_DDB] =             MIPS_INT_MASK,
        [IPL_HIGH] =            MIPS_INT_MASK,
     },
 };



Home | Main Index | Thread Index | Old Index