1. 27 Mar, 2009 1 commit
    • Bjorn Helgaas's avatar
      ACPI: call acpi_wakeup_device_init() explicitly rather than as initcall · 201b8c65
      Bjorn Helgaas authored
      
      This patch makes acpi_init() call acpi_wakeup_device_init() directly.
      Previously, acpi_wakeup_device_init() was a late_initcall (sequence 7).
      
      acpi_wakeup_device_init() depends on acpi_wakeup_device_list, which
      is populated when ACPI devices are enumerated by acpi_init() ->
      acpi_scan_init().  Using late_initcall is certainly enough to make
      sure acpi_wakeup_device_list is populated, but it is more than
      necessary.  We can just as easily call acpi_wakeup_device_init()
      directly from acpi_init(), which avoids the initcall magic.
      Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
      CC: Li Shaohua <shaohua.li@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      201b8c65
  2. 17 Mar, 2009 1 commit
  3. 09 Jan, 2009 1 commit
  4. 31 Dec, 2008 2 commits
  5. 11 Nov, 2008 1 commit
  6. 07 Jul, 2008 2 commits
    • Rafael J. Wysocki's avatar
      PCI ACPI: Rework PCI handling of wake-up · eb9d0fe4
      Rafael J. Wysocki authored
      
      * Introduce function acpi_pm_device_sleep_wake() for enabling and
        disabling the system wake-up capability of devices that are power
        manageable by ACPI.
      
      * Introduce function acpi_bus_can_wakeup() allowing other (dependent)
        subsystems to check if ACPI is able to enable the system wake-up
        capability of given device.
      
      * Introduce callback .sleep_wake() in struct pci_platform_pm_ops and
        for the ACPI PCI 'driver' make it use acpi_pm_device_sleep_wake().
      
      * Introduce callback .can_wakeup() in struct pci_platform_pm_ops and
        for the ACPI 'driver' make it use acpi_bus_can_wakeup().
      
      * Move the PME# handlig code out of pci_enable_wake() and split it
        into two functions, pci_pme_capable() and pci_pme_active(),
        allowing the caller to check if given device is capable of
        generating PME# from given power state and to enable/disable the
        device's PME# functionality, respectively.
      
      * Modify pci_enable_wake() to use the new ACPI callbacks and the new
        PME#-related functions.
      
      * Drop the generic .platform_enable_wakeup() callback that is not
        used any more.
      
      * Introduce device_set_wakeup_capable() that will set the
        power.can_wakeup flag of given device.
      
      * Rework PCI device PM initialization so that, if given device is
        capable of generating wake-up events, either natively through the
        PME# mechanism, or with the help of the platform, its
        power.can_wakeup flag is set and its power.should_wakeup flag is
        unset as appropriate.
      
      * Make ACPI set the power.can_wakeup flag for devices found to be
        wake-up capable by it.
      
      * Make the ACPI wake-up code enable/disable GPEs for devices that
        have the wakeup.flags.prepared flag set (which means that their
        wake-up power has been enabled).
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      eb9d0fe4
    • Rafael J. Wysocki's avatar
      ACPI: Introduce acpi_device_sleep_wake function · 77e76609
      Rafael J. Wysocki authored
      
      The currect ACPI code attempts to execute _PSW at three different
      places and in one of them only it tries to execute _DSW before _PSW,
      which is inconsistent with the other two cases.
      
      Move the execution of _DSW and _PSW into a separate function called
      acpi_device_sleep_wake() and call it wherever appropriate instead of
      executing _DSW and/or _PSW directly.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: default avatarPavel Machek <pavel@suse.cz>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      77e76609
  7. 27 Sep, 2007 1 commit
  8. 25 Jul, 2007 1 commit
  9. 06 Nov, 2006 1 commit
  10. 03 Apr, 2006 1 commit
  11. 15 Dec, 2005 1 commit
  12. 05 Aug, 2005 1 commit
  13. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4