Subject: CVS commit: src/sys/dev/acpi
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 08/08/2007 08:52:31
Module Name:	src
Committed By:	cube
Date:		Wed Aug  8 08:52:31 UTC 2007

Modified Files:
	src/sys/dev/acpi: acpi.c acpivar.h

Log Message:
Print ACPI device name in a way that Jared McNeill and I find prettier.
I like it better because I get to see the name of the device as it appears
in the DSDT, which sometimes makes sense and that way it's easier to locate
the relevant code when debugging.

E.g.:

PIC (PNP0000) [AT Interrupt Controller] at acpipcib0 not configured
DMAD (PNP0200) [AT DMA Controller] at acpipcib0 not configured
attimer0 at acpipcib0 (TMR, PNP0100): AT Timer
RTC0 (PNP0B00) [AT Real-Time Clock] at acpipcib0 not configured
pckbc0 at acpipcib0 (PS2K, PNP0303): kbd port
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/sys/dev/acpi/acpi.c
cvs rdiff -r1.28 -r1.29 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.