1. 26 9月, 2009 3 次提交
  2. 27 8月, 2009 1 次提交
    • B
      ACPICA: Major update for acpi_get_object_info external interface · 15b8dd53
      Bob Moore 提交于
      Completed a major update for the acpi_get_object_info external interface.
      Changes include:
       - Support for variable, unlimited length HID, UID, and CID strings
       - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
       - Call the _SxW power methods on behalf of a device object
       - Determine if a device is a PCI root bridge
       - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
      These changes will require an update to all callers of this interface.
      See the ACPICA Programmer Reference for details.
      
      Also, update all invocations of acpi_get_object_info interface
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLin Ming <ming.m.lin@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      15b8dd53
  3. 08 5月, 2009 1 次提交
  4. 04 4月, 2009 1 次提交
    • W
      Enable PNPACPI _PSx Support, v3 · 6328a574
      Witold Szczeponik 提交于
      (This is an update to the patch presented earlier in
      http://lkml.org/lkml/2008/12/8/284, with new error handling.)
      
      This patch sets the power of PnP ACPI devices to D0 when they
      are activated and to D3 when they are disabled.  The latter is
      in correspondence with the ACPI 3.0 specification, whereas the
      former is added in order to be able to power up a device after
      it has been previously disabled (or when booting up a system).
      (As a consequence, the patch makes the PnP ACPI code more ACPI
      compliant.)
      
      Section 6.2.2 of the ACPI Specification (at least versions 1.0b
      and 3.0a) states: "Prior to running this control method [_DIS],
      the OS[PM] will have already put the device in the D3 state."
      Unfortunately, there is no clear statement as to when to put
      a device in the D0 state. :-( Therefore, the patch executes the
      method calls as _PS3/_DIS and _SRS/_PS0. What is clear: "If the
      device is disabled, _SRS enables the device at the specified
      resources." (From the ACPI 3.0a Specification.)
      
      The patch fixes a problem with some IBM ThinkPads (at least the
      600E and the 600X) where the serial ports have a dedicated
      power source that needs to be brought up before the serial port
      can be used.  Without this patch, the serial port is enabled
      but has no power. (In the past, the tpctl utility had to be
      utilized to turn on the power, but support for this feature
      stopped with version 5.9 as it did not support the more recent
      kernel versions.)
      
      The error handlers that handle any errors that can occur during
      the power up/power down phases return the error codes to the
      caller directly.  Comments welcome! :-)
      
      No regressions were observed on hardware that does not require
      this patch.
      
      The patch is applied against 2.6.27.x.
      Signed-off-by: NWitold Szczeponik <Witold.Szczeponik@gmx.net>
      Acked-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      6328a574
  5. 31 12月, 2008 1 次提交
  6. 23 10月, 2008 1 次提交
  7. 11 10月, 2008 2 次提交
  8. 10 10月, 2008 1 次提交
    • L
      PnP: move pnpacpi/pnpbios_init to after PCI init · ed458df4
      Linus Torvalds 提交于
      We already did that a long time ago for pnp_system_init, but
      pnpacpi_init and pnpbios_init remained as subsys_initcalls, and get
      linked into the kernel before the arch-specific routines that finalize
      the PCI resources (pci_subsys_init).
      
      This means that the PnP routines would either register their resources
      before the PCI layer could, or would be unable to check whether a PCI
      resource had already been registered.  Both are problematic.
      
      I wanted to do this before 2.6.27, but every time we change something
      like this, something breaks.  That said, _every_ single time we trust
      some firmware (like PnP tables) more than we trust the hardware itself
      (like PCI probing), the problems have been worse.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ed458df4
  9. 17 7月, 2008 1 次提交
  10. 12 6月, 2008 1 次提交
  11. 01 5月, 2008 1 次提交
  12. 29 4月, 2008 10 次提交
  13. 14 2月, 2008 1 次提交
  14. 13 1月, 2008 1 次提交
  15. 17 10月, 2007 2 次提交
  16. 24 8月, 2007 1 次提交
  17. 30 7月, 2007 1 次提交
  18. 27 7月, 2007 2 次提交
  19. 24 7月, 2007 1 次提交
  20. 22 7月, 2007 1 次提交
  21. 09 5月, 2007 2 次提交
    • B
      PNP: notice whether we have PNP devices (PNPBIOS or PNPACPI) · 8f81dd14
      Bjorn Helgaas 提交于
      This series converts i386 and x86_64 legacy serial ports to be platform
      devices and prevents probing for them if we have PNP.
      
      This prevents double discovery, where a device was found both by the legacy
      probe and by 8250_pnp.
      
      This also prevents the serial driver from claiming IRDA devices (unless they
      have a UART PNP ID).  The serial legacy probe sometimes assumed the wrong IRQ,
      so the user had to use "setserial" to fix it.
      
      Removing the need for setserial to make IRDA devices work seems good, but it
      does break some things.  In particular, you may need to keep setserial from
      poking legacy UART stuff back in by doing something like "dpkg-reconfigure
      setserial" with the "kernel" option.  Otherwise, the setserial-discovered
      "UART" will claim resources and prevent the IRDA driver from loading.
      
      This patch:
      
      If we can discover devices using PNP, we can skip some legacy probes.  This
      flag ("pnp_platform_devices") indicates that PNPBIOS or PNPACPI is enabled and
      should tell us about builtin devices.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Keith Owens <kaos@ocs.com.au>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Cc: Matthieu CASTET <castet.matthieu@free.fr>
      Cc: Jean Tourrilhes <jt@hpl.hp.com>
      Cc: Matthew Garrett <mjg59@srcf.ucam.org>
      Cc: Ville Syrjala <syrjala@sci.fi>
      Cc: Russell King <rmk+serial@arm.linux.org.uk>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8f81dd14
    • D
      PNPACPI sets pnpdev->dev.archdata · 55955aad
      David Brownell 提交于
      Teach PNPACPI how to hook up its devices to their ACPI nodes, so that
      pnpdev->dev.archdata points to the parallel acpi device node.  Previously
      this only worked for PCI, leaving a notable hole.
      
      Export "acpi_bus_type" so this can work.
      
      Remove some extraneous whitespace.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      55955aad
  22. 14 12月, 2006 1 次提交
  23. 01 7月, 2006 1 次提交
  24. 07 1月, 2006 2 次提交