NetBSD/sys/dev/acpi
jruoho 3af8b2cb19 Revisit the wake-device code once more.
1. Remove the AcpiEnableGpe() call. This was wrong.

  2. Only call _PSW or _DSW for devices that are scheduled for wake.
     This was an old bug.

  3. Only enable wake GPEs during suspend. Disabling these for
     devices not setup for wake was causing problems.

  4. No wake GPEs should be enabled at runtime.
     Unconditionally disable these during resume.

This should make the wake-device code work again. Note that waking via
pckbd(4) has always been unreliable; the _PRW object is not typically located
under the PC keyboard object, but in the parent of it (e.g. the LPC bridge).
2011-02-19 09:52:32 +00:00
..
acpica Include acdebug.h for the ACPICA debugger. 2011-02-17 12:08:46 +00:00
wmi Make the WMI modules depend on the parent mapper. 2011-02-16 13:15:49 +00:00
acpi_acad.c Use ioconf for the module declarations. 2011-02-16 08:35:51 +00:00
acpi_apm.c Simplify acpi_enter_sleep_state() and guard it against NULL pointer 2010-10-24 07:53:04 +00:00
acpi_bat.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
acpi_button.c Use ioconf for the module declarations. 2011-02-16 08:35:51 +00:00
acpi_cpu_cstate.c Improve error reporting. 2011-01-30 08:55:52 +00:00
acpi_cpu_pstate.c Improve error reporting. 2011-01-30 08:55:52 +00:00
acpi_cpu_tstate.c Remove the (debug) check that evaluated whether the first T-state (i.e. the 2011-02-18 07:00:05 +00:00
acpi_cpu.c Use ioconf for the module declarations. 2011-02-16 08:35:51 +00:00
acpi_cpu.h Move the function that counts the CPUs from acpicpu(4) to the MD layer. 2011-01-13 03:40:50 +00:00
acpi_debug.c Make acpi(4) debug aware of ACPI_DISPLAY_COMPONENT. 2010-10-27 14:39:26 +00:00
acpi_display.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
acpi_ec.c ACPICA 20101209: 2011-02-17 10:49:29 +00:00
acpi_ecvar.h Protect all header files against multiple inclusions. 2010-03-05 08:30:48 +00:00
acpi_fan.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
acpi_lid.c Use ioconf for the module declarations. 2011-02-16 08:35:51 +00:00
acpi_osd.h Protect all header files against multiple inclusions. 2010-03-05 08:30:48 +00:00
acpi_pci_link.c One malloc(9) type is enough for ACPI; use M_ACPI. 2010-04-23 15:52:26 +00:00
acpi_pci.c acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter. 2010-12-31 10:56:39 +00:00
acpi_pci.h acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter. 2010-12-31 10:56:39 +00:00
acpi_pmtr.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
acpi_power.c Convert aprint_error(9) to ACPI_DEBUG_PRINT. 2011-01-09 16:22:07 +00:00
acpi_power.h Now that we have 1:1 mapping between handles and nodes, use the former for 2010-06-07 17:28:17 +00:00
acpi_quirks.c Add support for blacklisting ACPI BIOS implementations by year. By default, 2010-09-06 15:54:26 +00:00
acpi_resource.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
acpi_slit.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
acpi_slit.h Protect all header files against multiple inclusions. 2010-03-05 08:30:48 +00:00
acpi_srat.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
acpi_srat.h Protect all header files against multiple inclusions. 2010-03-05 08:30:48 +00:00
acpi_timer.c Fix previous. 2011-01-04 04:28:48 +00:00
acpi_timer.h Export also the delta function. 2010-07-10 19:37:38 +00:00
acpi_tz.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
acpi_util.c acpi_eval_integer: check that the evaluation produced a result. 2010-11-02 16:45:48 +00:00
acpi_util.h Use the new ACPICA functions AcpiAttachData() and AcpiGetData() to associate 2010-06-07 17:13:52 +00:00
acpi_verbose.c Scan for devices that are "hot-pluggable". 2011-01-03 08:50:23 +00:00
acpi_wakedev.c Revisit the wake-device code once more. 2011-02-19 09:52:32 +00:00
acpi_wakedev.h Revisit the wake-device code once more. 2011-02-19 09:52:32 +00:00
acpi_wdrt.c use PRIx64 instead of llx, fixes build on amd64 2011-01-17 17:32:11 +00:00
acpi.c Revisit the wake-device code once more. 2011-02-19 09:52:32 +00:00
acpica.h Switch acpi(4) to use the new location of ACPICA. 2011-02-17 07:34:42 +00:00
acpidevs Add SMO1200 (yet another TPM chip). From ThinkPad x201i. 2011-01-10 17:04:22 +00:00
acpidevs_data.h Regen. 2011-01-10 17:04:55 +00:00
acpireg.h Merge ACPI display driver. Provides generic support for brightness 2010-10-12 19:10:49 +00:00
acpivar.h As explained in the new ACPICA documentation, as of ACPICA 20101207, the 2011-02-17 19:36:49 +00:00
asus_acpi.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
atk0110.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
atppc_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
attimer_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
com_acpi.c Even if there's an error in attaching the device (failure to find IRQ 2010-07-22 16:35:24 +00:00
dalb_acpi.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
devlist2h.awk Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
fdc_acpi.c Remove the last ACPI driver -specific #ifdef, ACPI_FDC_DEBUG. 2010-08-07 09:55:59 +00:00
fdc_acpireg.h Protect all header files against multiple inclusions. 2010-03-05 08:30:48 +00:00
files.acpi acpiwdrt needs sysmon_wdog 2011-01-17 15:55:24 +00:00
fujitsu_acpi.c Hm, the warning sign was not big enough. 2010-11-05 10:35:00 +00:00
hpet_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
hpqlb_acpi.c Change the preprocessor defines around the module(9)'s modcmd() calls such 2011-02-16 09:05:12 +00:00
joy_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
lpt_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
Makefile.acpidevs Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands. 2008-10-19 22:05:19 +00:00
mpu_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
pckbc_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
pcppi_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
smbus_acpi.c Refactor to make this more readable. No functional change. 2010-07-29 11:03:09 +00:00
sony_acpi.c Drop _HID requirement for attachment under acpi(4). From now on, 2010-10-02 18:06:47 +00:00
spic_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
thinkpad_acpi.c Use ioconf for the module declarations. 2011-02-16 08:35:51 +00:00
TODO Merge P-state support for acpicpu(4). 2010-08-08 16:58:41 +00:00
ug_acpi.c Remove <dev/acpi/acpica.h> from all files. It is included from 2010-03-05 14:00:16 +00:00
vald_acpi.c As discussed with jmcneill@, install a global "bus notification handler" 2010-04-15 07:02:24 +00:00
valz_acpi.c As discussed with jmcneill@, install a global "bus notification handler" 2010-04-15 07:02:24 +00:00
wb_acpi.c pull in acpireg.h for ACPI_COMPONENT_RESOURCE 2010-08-19 18:37:38 +00:00
wss_acpi.c Drop _HID requirement for attachment under acpi(4). From now on, 2010-10-02 18:06:47 +00:00
ym_acpi.c Drop _HID requirement for attachment under acpi(4). From now on, 2010-10-02 18:06:47 +00:00