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/e8598d64a33e
branches:  trunk
changeset: 835944:e8598d64a33e
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 fb9fad4aa700 -r e8598d64a33e 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