Module Name: src
Committed By: tsutsui
Date: Sat Jan 20 18:33:09 UTC 2018
Modified Files:
src/sys/arch/atari/isa: isa_milan.c
Log Message:
Use a proper PSL value to be passed to splx(9) functions.
This should have been changed on yamt-splraiseipl branch merge
back in 2006, which made MI IPL_xxx values independent from
m68k MD PSL values for the %sr register.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/atari/isa/isa_milan.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/atari/isa/isa_milan.c
diff -u src/sys/arch/atari/isa/isa_milan.c:1.14 src/sys/arch/atari/isa/isa_milan.c:1.15
--- src/sys/arch/atari/isa/isa_milan.c:1.14 Wed Mar 18 10:22:25 2009
+++ src/sys/arch/atari/isa/isa_milan.c Sat Jan 20 18:33:09 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: isa_milan.c,v 1.14 2009/03/18 10:22:25 cegger Exp $ */
+/* $NetBSD: isa_milan.c,v 1.15 2018/01/20 18:33:09 tsutsui Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_milan.c,v 1.14 2009/03/18 10:22:25 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_milan.c,v 1.15 2018/01/20 18:33:09 tsutsui Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -209,7 +209,7 @@ isa_intr_establish(isa_chipset_tag_t ic,
iinfo_p->slot = 0; /* Unused on Milan */
iinfo_p->ihand = NULL; /* Unused on Milan */
- iinfo_p->ipl = level;
+ iinfo_p->ipl = ipl2psl_table[level];
iinfo_p->ifunc = ih_fun;
iinfo_p->iarg = ih_arg;