Subject: CVS commit: src/sys/dev/acpi
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 06/20/2006 12:31:20
Module Name: src
Committed By: cube
Date: Tue Jun 20 12:31:20 UTC 2006
Modified Files:
src/sys/dev/acpi: acpi.c
Log Message:
When we consume a resource definition from _PRS, advance to the next one.
Otherwise, if there are two resources definitions of the same type in _CRS,
the same one from _PRS will be used twice, which of course leads to errors.
Note: _PRS is Possible Resources Set
_CRS is Current Resources Set
XXX acpi_allocate_resources is still very weak, e.g. it completely ignores
StartDependentFn entries which are kind of a switch. But at least it's
slightly better that way.
Tested by jmcneill@.
To generate a diff of this commit:
cvs rdiff -r1.88 -r1.89 src/sys/dev/acpi/acpi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.