Subject: port-hpcmips/23651: Add MobilePro 880 (MC/R730A) to hpcbatterytable.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@duh.org>
List: netbsd-bugs
Date: 12/04/2003 10:24:44
>Number:         23651
>Category:       port-hpcmips
>Synopsis:       Add MobilePro 880 (MC/R730A) to hpcbatterytable.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 04 15:27: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:

MC/R700, MC/R700A, and MC/R730 are in hpcbatterytable.h.  MC/R730A is
missing.  This may cause battery readings to be incorrect or missing.

>How-To-Repeat:
>Fix:

Diff below applied cleanly to 1.6 and -current.  This should be trivial
to add and request pullup to 1.6.

Index: hpc/hpcbatterytable.h
===================================================================
RCS file: /cvsroot/src/sys/dev/hpc/hpcbatterytable.h,v
retrieving revision 1.3
diff -u -r1.3 hpcbatterytable.h
--- hpc/hpcbatterytable.h	2001/08/02 11:21:27	1.3
+++ hpc/hpcbatterytable.h	2003/12/04 15:21:58
@@ -211,6 +211,7 @@
 	{ &platid_mask_MACH_NEC_MCR_700, &hpcbattery_mcr700_spec }, 
 	{ &platid_mask_MACH_NEC_MCR_700A, &hpcbattery_mcr700_spec }, /* XXX */
 	{ &platid_mask_MACH_NEC_MCR_730, &hpcbattery_mcr700_spec }, /* XXX */
+	{ &platid_mask_MACH_NEC_MCR_730A, &hpcbattery_mcr700_spec }, /* XXX */
 #endif /* hpcmips */
 	{ NULL, NULL }	/* terminator, don't delete */
 };
>Release-Note:
>Audit-Trail:
>Unformatted: