Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 11/26/2006 12:30:05
Module Name:	src
Committed By:	cube
Date:		Sun Nov 26 12:30:05 UTC 2006

Modified Files:
	src/sys/arch/amd64/amd64: mainbus.c
	src/sys/arch/i386/i386: mainbus.c
	src/sys/dev/acpi: acpi.c acpivar.h

Log Message:
Introduce acpi_check() to inform the caller whether the acpi driver is
still enabled, as it could have been disabled through USERCONF.

Use it in amd64 and i386 mainbus code and skip all ACPI processing in case
it is disabled.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/arch/amd64/amd64/mainbus.c
cvs rdiff -r1.69 -r1.70 src/sys/arch/i386/i386/mainbus.c
cvs rdiff -r1.97 -r1.98 src/sys/dev/acpi/acpi.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/acpi/acpivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.