Received: by mail.netbsd.org (Postfix, from userid 0) id 4232F63B104; Wed, 8 Apr 2009 17:08:05 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id BAAA863B15B for ; Wed, 8 Apr 2009 17:08:03 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id A3AC4175D0; Wed, 8 Apr 2009 17:08:03 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Wed, 8 Apr 2009 17:08:03 +0000 From: David Young Subject: CVS commit: src/sys/arch/i386/i386 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20090408170803.A3AC4175D0@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes Precedence: list Reply-To: source-changes-d@NetBSD.org Module Name: src Committed By: dyoung Date: Wed Apr 8 17:08:03 UTC 2009 Modified Files: src/sys/arch/i386/i386: mainbus.c Log Message: Remove redundant declaration of mainbus_attach(), as pointed out by Thomas Klausner. Do not compile in the local variable "mba" in mainbus_rescan unless NPNPBIOS > 0 || NACPI > 0 || NIPMI > 0 || NMCA > 0. This fixes the build on systems such as Soekris where none of those options apply. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/arch/i386/i386/mainbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.