Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/pmax Fix hangup after framebuffers are attache...



details:   https://anonhg.NetBSD.org/src/rev/6e07f790d617
branches:  trunk
changeset: 433505:6e07f790d617
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Sep 17 16:52:28 2018 +0000

description:
Fix hangup after framebuffers are attached on 3MIN.  PR port-pmax/53611

Ok'ed by mrg@.  Should be pulled up to netbsd-7 and netbsd-8.

diffstat:

 sys/arch/pmax/pmax/dec_3min.c |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r d4131b390ca0 -r 6e07f790d617 sys/arch/pmax/pmax/dec_3min.c
--- a/sys/arch/pmax/pmax/dec_3min.c     Mon Sep 17 15:53:06 2018 +0000
+++ b/sys/arch/pmax/pmax/dec_3min.c     Mon Sep 17 16:52:28 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_3min.c,v 1.73 2014/03/24 19:31:40 christos Exp $ */
+/* $NetBSD: dec_3min.c,v 1.74 2018/09/17 16:52:28 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -70,7 +70,7 @@
 #define        __INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.73 2014/03/24 19:31:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.74 2018/09/17 16:52:28 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -292,12 +292,7 @@
        case SYS_DEV_OPT0:
        case SYS_DEV_OPT1:
        case SYS_DEV_OPT2:
-               /* it's an option slot */
-               {
-               int s = splhigh();
-               s |= mask;
-               splx(s);
-               }
+               /* it's an option slot and handled via MIPS_INT_MASK_[012] */
                break;
        default:
                /* it's a baseboard device going via the IOASIC */



Home | Main Index | Thread Index | Old Index