NetBSD Problem Report #35426

From www@NetBSD.org  Mon Jan 15 17:15:25 2007
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id BFD4C63B852; Mon, 15 Jan 2007 17:15:25 +0000 (UTC)
Message-Id: <20070115171525.BFD4C63B852@narn.NetBSD.org>
Date: Mon, 15 Jan 2007 17:15:25 +0000 (UTC)
From: kiyohara@kk.iij4u.or.jp
Reply-To: kiyohara@kk.iij4u.or.jp
To: gnats-bugs@NetBSD.org
Subject: needs CMUMASK_SIU
X-Send-Pr-Version: www-1.0

>Number:         35426
>Category:       kern
>Synopsis:       needs CMUMASK_SIU
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 15 17:20:00 +0000 2007
>Originator:     KIYOHARA Takashi
>Release:        -current
>Organization:
>Environment:
NetBSD highpriestess.fool 4.99.6 NetBSD 4.99.6 (HIGHPRIESTESS) #2: Sat Dec 23 01:54:34 JST 2006  lance@highpriestess.fool:/sys/arch/i386/compile/HIGHPRIESTESS i386

>Description:
We should set MSKSSIU and MSKSIU to CMUCLKMASK of VRIP. However, OS sets it according to the machine. For instance, it is Windows CE. Moreover, GPIO should be likely to be set. 

>How-To-Repeat:

>Fix:
Index: vr4102ip.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/vr/vr4102ip.c,v
retrieving revision 1.7
diff -u -r1.7 vr4102ip.c
--- vr4102ip.c  11 Dec 2005 12:17:34 -0000      1.7
+++ vr4102ip.c  15 Jan 2007 16:44:57 -0000
@@ -65,7 +65,8 @@
                            VR4102_CMUMSKKIU,
                            VR4102_KIUINT_REG_W,VR4102_MKIUINT_REG_W    },
        [VRIP_UNIT_SIU] = { "siu",
-                           { VRIP_INTR_SIU,    },              },
+                           { VRIP_INTR_SIU,    },
+                           VR4102_CMUMSKSIU,                   },
        [VRIP_UNIT_GIU] = { "giu",
                            { VRIP_INTR_GIU,    },
                            0,
Index: vr4122ip.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/vr/vr4122ip.c,v
retrieving revision 1.6
diff -u -r1.6 vr4122ip.c
--- vr4122ip.c  11 Dec 2005 12:17:34 -0000      1.6
+++ vr4122ip.c  15 Jan 2007 16:44:57 -0000
@@ -57,7 +57,8 @@
        [VRIP_UNIT_RTC] = { "rtc",
                            { VRIP_INTR_RTCL1,  },              },
        [VRIP_UNIT_SIU] = { "siu",
-                           { VRIP_INTR_SIU,    },              },
+                           { VRIP_INTR_SIU,    },
+                           VR4122_CMUMSKSIU,                   },
        [VRIP_UNIT_GIU] = { "giu",
                            { VRIP_INTR_GIU,    },
                            0,
Index: vrip.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/vr/vrip.c,v
retrieving revision 1.32
diff -u -r1.32 vrip.c
--- vrip.c      11 Dec 2005 12:17:34 -0000      1.32
+++ vrip.c      15 Jan 2007 16:44:57 -0000
@@ -131,7 +131,8 @@
                            CMUMASK_KIU,
                            KIUINT_REG_W,       MKIUINT_REG_W   },
        [VRIP_UNIT_SIU] = { "siu",
-                           { VRIP_INTR_SIU,    },              },
+                           { VRIP_INTR_SIU,    },
+                           CMUMASK_SIU,                        },
        [VRIP_UNIT_GIU] = { "giu",
                            { VRIP_INTR_GIU,    },
                            0,

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.