Subject: kern/35426: needs CMUMASK_SIU
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kiyohara@kk.iij4u.or.jp>
List: netbsd-bugs
Date: 01/15/2007 17:20:00
>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,