Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/isa Use a proper PSL value to be passed to sp...



details:   https://anonhg.NetBSD.org/src/rev/736181813ad3
branches:  trunk
changeset: 358872:736181813ad3
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 20 18:33:09 2018 +0000

description:
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.

diffstat:

 sys/arch/atari/isa/isa_milan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 83ef47b9127e -r 736181813ad3 sys/arch/atari/isa/isa_milan.c
--- a/sys/arch/atari/isa/isa_milan.c    Sat Jan 20 18:18:02 2018 +0000
+++ b/sys/arch/atari/isa/isa_milan.c    Sat Jan 20 18:33:09 2018 +0000
@@ -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 @@
 
        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;
 



Home | Main Index | Thread Index | Old Index