1. 11 10月, 2008 1 次提交
  2. 02 8月, 2008 1 次提交
  3. 18 3月, 2008 1 次提交
  4. 07 2月, 2008 1 次提交
  5. 24 8月, 2007 1 次提交
    • L
      ACPI: Schedule /proc/acpi/event for removal · 14e04fb3
      Len Brown 提交于
      Schedule /proc/acpi/event for removal in 6 months.
      
      Re-name acpi_bus_generate_event() to acpi_bus_generate_proc_event()
      to make sure there is no confusion that it is for /proc/acpi/event only.
      
      Add CONFIG_ACPI_PROC_EVENT to allow removal of /proc/acpi/event.
      There is no functional change if CONFIG_ACPI_PROC_EVENT=y
      Signed-off-by: NLen Brown <len.brown@intel.com>
      14e04fb3
  6. 04 8月, 2007 1 次提交
  7. 24 7月, 2007 1 次提交
  8. 02 7月, 2007 1 次提交
    • M
      asus_acpi: fix oops on non-asus machines · 5ebffd7c
      Maxime Austruy 提交于
      If asus_acpi_init doesn't find any device it knows about, it mistakenly
      returns a "success" error code even though it cleans up after itself.  Later
      when trying to rmmod asus_acpi, the module_exit routine would try to clean up
      one more time and we would end up calling
      acpi_bus_unregister_driver(&asus_hotk_driver) twice.  This patch addresses
      this first problem by returning -ENODEV when no appropriate device is found.
      
      Then there was also another bug with the code handling the return value of
      backlight_device_register.  If this function ever failed, the driver would
      cleanup by calling the module_exit routine from module_init, but it would
      still return "success".  So any attempt to rmmod this module would result in
      asus_acpi_exit being called twice but it's not ready to handle it (I haven't
      hit this bug, just found it by code inspection).  This patch fixes that by
      inserting a return -ENODEV; at the end of this error handling path.
      Signed-off-by: NMaxime Austruy <maxime@tralhalla.org>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Jan Engelhardt <jengelh@computergmbh.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5ebffd7c
  9. 20 6月, 2007 1 次提交
  10. 01 6月, 2007 1 次提交
    • S
      acpi: fix section mismatch warning in asus + toshiba · b2b77b23
      Sam Ravnborg 提交于
      Fix following section mismatch warnings in acpi
      
      WARNING: drivers/acpi/asus_acpi.o(.init.text+0xb7): Section mismatch: reference to .exit.text: (after 'init_module')
      WARNING: o-i386/drivers/acpi/toshiba_acpi.o(.init.text+0x13a): Section mismatch: reference to .exit.text: (after 'init_module')
      
      The exit function is used in the init function during an error codition.
      As __exit may be discarded during link-time / run-time this is no good.
      Do not mark the exit function __exit.
      
      Note: This warning is only seen by my local copy of modpost
            but the change will soon hit upstream.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Len Brown <lenb@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b2b77b23
  11. 20 2月, 2007 2 次提交
  12. 17 2月, 2007 1 次提交
  13. 13 2月, 2007 1 次提交
    • 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
  14. 09 2月, 2007 1 次提交
  15. 03 2月, 2007 1 次提交
  16. 21 12月, 2006 1 次提交
  17. 20 12月, 2006 1 次提交
    • Y
      ACPI: video: Add dev argument for backlight_device_register · 519ab5f2
      Yu Luming 提交于
      This patch set adds generic abstract layer support for acpi video driver to
      have generic user interface to control backlight and output switch control by
      leveraging the existing backlight sysfs class driver, and by adding a new
      video output sysfs class driver.
      
      This patch:
      
      Add dev argument for backlight_device_register to link the class device to
      real device object.  The platform specific driver should find a way to get the
      real device object for their video device.
      
      [akpm@osdl.org: build fix]
      [akpm@osdl.org: fix msi-laptop.c]
      Signed-off-by: NLuming Yu <Luming.yu@intel.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      519ab5f2
  18. 21 10月, 2006 1 次提交
  19. 14 10月, 2006 4 次提交
  20. 02 7月, 2006 1 次提交
  21. 01 7月, 2006 10 次提交
  22. 30 6月, 2006 1 次提交
  23. 27 6月, 2006 1 次提交
  24. 14 6月, 2006 1 次提交
    • B
      ACPI: ACPICA 20060421 · b229cf92
      Bob Moore 提交于
      Removed a device initialization optimization introduced in
      20051216 where the _STA method was not run unless an _INI
      was also present for the same device. This optimization
      could cause problems because it could allow _INI methods
      to be run within a not-present device subtree (If a
      not-present device had no _INI, _STA would not be run,
      the not-present status would not be discovered, and the
      children of the device would be incorrectly traversed.)
      
      Implemented a new _STA optimization where namespace
      subtrees that do not contain _INI are identified and
      ignored during device initialization. Selectively running
      _STA can significantly improve boot time on large machines
      (with assistance from Len Brown.)
      
      Implemented support for the device initialization case
      where the returned _STA flags indicate a device not-present
      but functioning. In this case, _INI is not run, but the
      device children are examined for presence, as per the
      ACPI specification.
      
      Implemented an additional change to the IndexField support
      in order to conform to MS behavior. The value written to
      the Index Register is not simply a byte offset, it is a
      byte offset in units of the access width of the parent
      Index Field. (Fiodor Suietov)
      
      Defined and deployed a new OSL interface,
      acpi_os_validate_address().  This interface is called during
      the creation of all AML operation regions, and allows
      the host OS to exert control over what addresses it will
      allow the AML code to access. Operation Regions whose
      addresses are disallowed will cause a runtime exception
      when they are actually accessed (will not affect or abort
      table loading.)
      
      Defined and deployed a new OSL interface,
      acpi_os_validate_interface().  This interface allows the host OS
      to match the various "optional" interface/behavior strings
      for the _OSI predefined control method as appropriate
      (with assistance from Bjorn Helgaas.)
      
      Restructured and corrected various problems in the
      exception handling code paths within DsCallControlMethod
      and DsTerminateControlMethod in dsmethod (with assistance
      from Takayoshi Kochi.)
      
      Modified the Linux source converter to ignore quoted string
      literals while converting identifiers from mixed to lower
      case. This will correct problems with the disassembler
      and other areas where such strings must not be modified.
      
      The ACPI_FUNCTION_* macros no longer require quotes around
      the function name. This allows the Linux source converter
      to convert the names, now that the converter ignores
      quoted strings.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      b229cf92
  25. 15 5月, 2006 1 次提交
  26. 02 4月, 2006 2 次提交