Subject: kern/20636: files.acpi needs defparam
To: None <gnats-bugs@gnats.netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: netbsd-bugs
Date: 03/09/2003 08:57:57
>Number:         20636
>Category:       kern
>Synopsis:       files.acpi needs defparam
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 09 05:59:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gary Duzan
>Release:        NetBSD 1.6O
>Organization:
	Not a lot
>Environment:
System: NetBSD capo 1.6O NetBSD 1.6O (CAPO) #8: Sat Feb 22 23:30:41 EST 2003 gary@capo:/usr2/current/i386/obj/usr2/current/src/sys/arch/i386/compile/CAPO i386
Architecture: i386
Machine: i386
>Description:
	Attempting to add ACPI_ACTIVATE_DEV=1 to a config file produces
	an error that ACPI_ACTIVATE_DEV must not have a value.
>How-To-Repeat:
	Add "options ACPI_ACTIVATE_DEV=1" to a config file and run
	config on it.
>Fix:

Index: files.acpi
===================================================================
RCS file: /cvsroot/src/sys/dev/acpi/files.acpi,v
retrieving revision 1.16
diff -u -r1.16 files.acpi
--- files.acpi	2003/01/12 01:15:50	1.16
+++ files.acpi	2003/03/09 13:57:08
@@ -2,7 +2,8 @@
 
 include "dev/acpi/acpica/files.acpica"
 
-defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV
+defflag	opt_acpi.h	ACPIVERBOSE ACPI_DEBUG
+defparam opt_acpi.h	ACPI_PCI_FIXUP ACPI_ACTIVATE_DEV
 
 device	acpi { }
 attach	acpi at acpibus
>Release-Note:
>Audit-Trail:
>Unformatted:
 	March 8, 2003