1. 13 2月, 2007 2 次提交
    • L
      ACPI: fix acpi_driver.name usage · c2b6705b
      Len Brown 提交于
      It was erroneously used as a description rather than a name.
      
      ie. turn this:
      
      lenb@se7525gp2:/sys> ls bus/acpi/drivers
      ACPI AC Adapter Driver  ACPI Embedded Controller Driver  ACPI Power Resource Driver
      ACPI Battery Driver     ACPI Fan Driver                  ACPI Processor Driver
      ACPI Button Driver      ACPI PCI Interrupt Link Driver   ACPI Thermal Zone Driver
      ACPI container driver   ACPI PCI Root Bridge Driver      hpet
      
      into this:
      
      lenb@se7525gp2:~> ls /sys/bus/acpi/drivers
      ac  battery  button  container  ec  fan  hpet  pci_link  pci_root  power  processor  thermal
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c2b6705b
    • L
      ACPI: clean up ACPI_MODULE_NAME() use · f52fd66d
      Len Brown 提交于
      cosmetic only
      
      Make "module name" actually match the file name.
      Invoke with ';' as leaving it off confuses Lindent and gcc doesn't care.
      Fix indentation where Lindent did get confused.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      f52fd66d
  2. 03 2月, 2007 2 次提交
  3. 21 12月, 2006 1 次提交
  4. 14 10月, 2006 2 次提交
  5. 10 7月, 2006 1 次提交
  6. 30 6月, 2006 2 次提交
  7. 27 6月, 2006 4 次提交
  8. 20 6月, 2006 1 次提交
  9. 14 5月, 2006 1 次提交
  10. 27 1月, 2006 1 次提交
  11. 13 12月, 2005 1 次提交
    • D
      [PATCH] ACPI: fix sleeping whilst atomic warnings on resume · a64882e7
      Dave Jones 提交于
      This has been broken for months.  On resume, we call acpi_pci_link_set()
      with interrupts off, so we get a warning when we try to do a kmalloc of non
      atomic memory.  The actual allocation is just 2 long's (plus extra byte for
      some reason I can't fathom), so a simple conversion to GFP_ATOMIC is
      probably the safest way to fix this.
      
      The error looks like this..
      
      Debug: sleeping function called from invalid context at mm/slab.c:2486
      in_atomic():0, irqs_disabled():1
       [<c0143f6c>] kmem_cache_alloc+0x40/0x56
       [<c0206a2e>] acpi_pci_link_set+0x3f/0x17f
       [<c0206f96>] irqrouter_resume+0x1e/0x3c
       [<c0239bca>] __sysdev_resume+0x11/0x6b
       [<c0239e88>] sysdev_resume+0x34/0x52
       [<c023de21>] device_power_up+0x5/0xa
      Signed-off-by: NDave Jones <davej@redhat.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a64882e7
  12. 10 12月, 2005 1 次提交
    • B
      [ACPI] ACPICA 20050930 · 50eca3eb
      Bob Moore 提交于
      Completed a major overhaul of the Resource Manager code -
      specifically, optimizations in the area of the AML/internal
      resource conversion code. The code has been optimized to
      simplify and eliminate duplicated code, CPU stack use has
      been decreased by optimizing function parameters and local
      variables, and naming conventions across the manager have
      been standardized for clarity and ease of maintenance (this
      includes function, parameter, variable, and struct/typedef
      names.)
      
      All Resource Manager dispatch and information tables have
      been moved to a single location for clarity and ease of
      maintenance. One new file was created, named "rsinfo.c".
      
      The ACPI return macros (return_ACPI_STATUS, etc.) have
      been modified to guarantee that the argument is
      not evaluated twice, making them less prone to macro
      side-effects. However, since there exists the possibility
      of additional stack use if a particular compiler cannot
      optimize them (such as in the debug generation case),
      the original macros are optionally available.  Note that
      some invocations of the return_VALUE macro may now cause
      size mismatch warnings; the return_UINT8 and return_UINT32
      macros are provided to eliminate these. (From Randy Dunlap)
      
      Implemented a new mechanism to enable debug tracing for
      individual control methods. A new external interface,
      acpi_debug_trace(), is provided to enable this mechanism. The
      intent is to allow the host OS to easily enable and disable
      tracing for problematic control methods. This interface
      can be easily exposed to a user or debugger interface if
      desired. See the file psxface.c for details.
      
      acpi_ut_callocate() will now return a valid pointer if a
      length of zero is specified - a length of one is used
      and a warning is issued. This matches the behavior of
      acpi_ut_allocate().
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      50eca3eb
  13. 22 9月, 2005 1 次提交
  14. 05 8月, 2005 3 次提交
  15. 04 8月, 2005 1 次提交
  16. 03 8月, 2005 1 次提交
  17. 02 8月, 2005 1 次提交
    • L
      Revert ACPI interrupt resume changes · 697a2d63
      Linus Torvalds 提交于
      If there are devices that use interrupts over a suspend event, ACPI must
      restore the PCI interrupt links on resume.  Anything else breaks any
      device that hasn't been converted to the new (dubious) PM rules.
      
      Drivers that need the irq free/re-aquire sequence can be done one by one
      independently of this one.
      697a2d63
  18. 30 7月, 2005 1 次提交
  19. 12 7月, 2005 2 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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