Subject: CVS commit: [jmcneill-pm] src/sys/arch/x86
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 10/02/2007 22:56:21
Module Name:	src
Committed By:	joerg
Date:		Tue Oct  2 22:56:21 UTC 2007

Modified Files:
	src/sys/arch/x86/include [jmcneill-pm]: mpacpi.h
	src/sys/arch/x86/x86 [jmcneill-pm]: acpi_machdep.c mpacpi.c

Log Message:
Don't process the MADT and modify the interrupt config at one moment and
later trying to figure out if an entry was overriden and matches the
ACPI SCI. This is brain-dead and breaks in various situations.

Just check for each ISA override entry, if it matches the SCI. If it
does, remember it and use it for the interrupt setup. If there's no such
override assume that it is not changed, but override the polarity and
level from ISA settings to PCI settings.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.4.32.1 src/sys/arch/x86/include/mpacpi.h
cvs rdiff -r1.13.22.4 -r1.13.22.5 src/sys/arch/x86/x86/acpi_machdep.c
cvs rdiff -r1.48.12.1 -r1.48.12.2 src/sys/arch/x86/x86/mpacpi.c

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