Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2004 11:38:46 -0700 (PDT)
From:      Nate Lawson <njl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/acpica acpi.c acpi_button.c acpi_lid.c acpivar.h
Message-ID:  <200405271838.i4RIckHs075987@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
njl         2004/05/27 11:38:46 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi.c acpi_button.c acpi_lid.c acpivar.h 
  Log:
  Restructure the wake GPE API.  Now there are three functions:
  
  acpi_wake_init:
      Evaluate _PRW and set the GPE type
  acpi_wake_set_enable:
      Enable or disable a device's GPE.
  acpi_wake_sleep_prep:
      Perform any last-minute changes to the device to prepare it for
      entering the given sleep state.
  
  Also, walk the entire namespace when transitioning to a sleep state,
  disabling any GPEs which aren't appropriate for the given state.  Transition
  acpi_lid and acpi_button to the new API.
  
  This clears the way for non-ACPI-aware devices to wake the system (i.e.
  modems) and fixes a problem where systems power up after shutdown when a
  GPE is triggered.
  
  Revision  Changes    Path
  1.147     +236 -120  src/sys/dev/acpica/acpi.c
  1.24      +7 -6      src/sys/dev/acpica/acpi_button.c
  1.20      +7 -6      src/sys/dev/acpica/acpi_lid.c
  1.67      +37 -56    src/sys/dev/acpica/acpivar.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405271838.i4RIckHs075987>