Module Name: src Committed By: cegger Date: Thu Nov 18 14:40:32 UTC 2010
Modified Files: src/sys/external/intel-public/acpica/dist/events: evxface.c Log Message: fix AcpiEnableGpe: GPEs get enabled at ACPI initialization. AcpiInstallGpeHandler() disables GPEs using AcpiEvDisableGpe() w/o decrementing RuntimeCount. So when acpiec(4) enables the GPE after installing the GPE Handler then AcpiEnableGpe() does not call AcpiEvEnableGpe() because RuntimeCount says it is already enabled which is wrong. So decrement the RuntimeCount in AcpiInstallGpeHandler() right before calling AcpiEvDisableGpe(). To generate a diff of this commit: cvs rdiff -u -r1.1.1.3 -r1.2 \ src/sys/external/intel-public/acpica/dist/events/evxface.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.