Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/ibm4xx Fix IPL for cascading pic to HIGH.



details:   https://anonhg.NetBSD.org/src/rev/dde0173ef3eb
branches:  trunk
changeset: 791463:dde0173ef3eb
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Tue Nov 19 12:46:43 2013 +0000

description:
Fix IPL for cascading pic to HIGH.

diffstat:

 sys/arch/powerpc/ibm4xx/pic_uic.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 15b0facc3beb -r dde0173ef3eb sys/arch/powerpc/ibm4xx/pic_uic.c
--- a/sys/arch/powerpc/ibm4xx/pic_uic.c Tue Nov 19 12:07:06 2013 +0000
+++ b/sys/arch/powerpc/ibm4xx/pic_uic.c Tue Nov 19 12:46:43 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_uic.c,v 1.3 2012/02/01 09:54:02 matt Exp $ */
+/*     $NetBSD: pic_uic.c,v 1.4 2013/11/19 12:46:43 kiyohara Exp $     */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_uic.c,v 1.3 2012/02/01 09:54:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_uic.c,v 1.4 2013/11/19 12:46:43 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -213,7 +213,7 @@
 static void
 uic1_finish_setup(struct pic_ops *pic)
 {
-       intr_establish(30, IST_LEVEL, IPL_NONE, pic_handle_intr, &pic_uic1);
+       intr_establish(30, IST_LEVEL, IPL_HIGH, pic_handle_intr, &pic_uic1);
 }
 
 struct uic uic1 = {
@@ -268,7 +268,7 @@
 static void
 uic2_finish_setup(struct pic_ops *pic)
 {
-       intr_establish(28, IST_LEVEL, IPL_NONE, pic_handle_intr, &pic_uic2);
+       intr_establish(28, IST_LEVEL, IPL_HIGH, pic_handle_intr, &pic_uic2);
 }
 
 static struct uic uic2 = {



Home | Main Index | Thread Index | Old Index