Subject: port-amd64/30564: duplicated `acpi0 at mainbus0' line in amd64 GENERIC config
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 06/20/2005 12:44:00
>Number:         30564
>Category:       port-amd64
>Synopsis:       duplicated `acpi0 at mainbus0' line in amd64 GENERIC config
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 20 12:44:00 +0000 2005
>Originator:     Nicolas Joly
>Release:        NetBSD 3.99.6
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 3.99.6 NetBSD 3.99.6 (LANFEUST) #1: Thu Jun 16 19:52:09 CEST 2005 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
I just noticed that the amd64 GENERIC kernel config file has 2 `acpi0 at mainbus0'
lines (both commented).
>How-To-Repeat:
njoly@lanfeust [NetBSD/src]> grep 'acpi0.*mainbus0' sys/arch/amd64/conf/GENERIC
#acpi0 at mainbus0
#acpi0          at mainbus0
>Fix:
Index: sys/arch/amd64/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.47
diff -u -r1.47 GENERIC
--- sys/arch/amd64/conf/GENERIC	9 Jun 2005 14:43:29 -0000	1.47
+++ sys/arch/amd64/conf/GENERIC	20 Jun 2005 11:27:51 -0000
@@ -222,8 +222,6 @@
 
 mainbus0 at root
 
-#acpi0 at mainbus0
-
 #acpi0 		at mainbus0
 #options 	MPACPI
 #options 	MPACPI_SCANPCI		# MPBIOS configures PCI roots