Subject: port-hpcmips/23653: Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@duh.org>
List: netbsd-bugs
Date: 12/04/2003 10:33:10
>Number:         23653
>Category:       port-hpcmips
>Synopsis:       Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 04 15:35:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.2_RC3
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
>Description:

Display power management chipset entries for the MC/R7xx other than
MC/R700 are incomplete.  This may be causing the display on other MC/R7xx
to consume too much power in "sleep".

>How-To-Repeat:
>Fix:

Tested on -current and 1.6:

Index: sys/arch/hpcmips/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/conf/GENERIC,v
retrieving revision 1.126.4.3
diff -u -r1.126.4.3 GENERIC
--- sys/arch/hpcmips/conf/GENERIC	2002/12/12 21:52:54	1.126.4.3
+++ sys/arch/hpcmips/conf/GENERIC	2003/12/04 15:28:31
@@ -152,6 +152,9 @@
 vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
 vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
 vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700
+vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700A
+vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730
+vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730A
 
 #
 # hpcmips isa? bus irq locator means:
Index: sys/arch/hpcmips/conf/VR41XX
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/conf/VR41XX,v
retrieving revision 1.8.4.1
diff -u -r1.8.4.1 VR41XX
--- sys/arch/hpcmips/conf/VR41XX	2002/08/01 04:21:33	1.8.4.1
+++ sys/arch/hpcmips/conf/VR41XX	2003/12/04 15:28:31
@@ -147,6 +147,9 @@
 vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
 vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
 vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700
+vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700A
+vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730
+vrc4172pwm*	at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730A
 
 # Workstation Console attachments
 bivideo0	at	mainbus0
Index: sys/arch/hpcmips/vr/vrc4172pwm.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/vr/vrc4172pwm.c,v
retrieving revision 1.15
diff -u -r1.15 vrc4172pwm.c
--- sys/arch/hpcmips/vr/vrc4172pwm.c	2002/01/27 14:18:12	1.15
+++ sys/arch/hpcmips/vr/vrc4172pwm.c	2003/12/04 15:28:31
@@ -118,6 +118,8 @@
 	{ &platid_mask_MACH_NEC_MCR_SIGMARION,	&vrc4172pwm_sigmarion_param},
 	{ &platid_mask_MACH_NEC_MCR_700,	&vrc4172pwm_mcr700_param},
 	{ &platid_mask_MACH_NEC_MCR_700A,	&vrc4172pwm_mcr700_param},
+	{ &platid_mask_MACH_NEC_MCR_730,	&vrc4172pwm_mcr700_param},
+	{ &platid_mask_MACH_NEC_MCR_730A,	&vrc4172pwm_mcr700_param},
 	{ NULL, NULL}
 };
 
>Release-Note:
>Audit-Trail:
>Unformatted: