1. 07 11月, 2008 1 次提交
    • M
      ACPI: Disambiguate processor declaration type · ad93a765
      Myron Stowe 提交于
      Declaring processors in ACPI namespace can be done using either a
      "Processor" definition or a "Device" definition (see section 8.4 -
      Declaring Processors; "Advanced Configuration and Power Interface
      Specification", Revision 3.0b).  Currently the two processor
      declaration types are conflated.
      
      This patch disambiguates the processor declaration's definition type
      enabling subsequent code to behave uniquely based explicitly on the
      declaration's type.
      Signed-off-by: NMyron Stowe <myron.stowe@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      ad93a765
  2. 23 10月, 2008 5 次提交
  3. 11 10月, 2008 3 次提交
  4. 07 10月, 2008 1 次提交
  5. 22 7月, 2008 1 次提交
  6. 17 7月, 2008 2 次提交
  7. 08 7月, 2008 1 次提交
  8. 29 4月, 2008 1 次提交
  9. 23 4月, 2008 1 次提交
  10. 10 4月, 2008 1 次提交
  11. 26 3月, 2008 1 次提交
  12. 11 3月, 2008 1 次提交
  13. 21 2月, 2008 1 次提交
  14. 07 2月, 2008 1 次提交
  15. 03 2月, 2008 1 次提交
  16. 02 1月, 2008 1 次提交
  17. 08 12月, 2007 1 次提交
  18. 13 10月, 2007 1 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
  19. 25 8月, 2007 1 次提交
  20. 24 7月, 2007 1 次提交
  21. 09 5月, 2007 1 次提交
  22. 26 4月, 2007 1 次提交
  23. 13 2月, 2007 2 次提交
  24. 03 2月, 2007 3 次提交
  25. 30 1月, 2007 2 次提交
  26. 06 1月, 2007 1 次提交
  27. 21 12月, 2006 3 次提交
    • R
      ACPI: fix Supermicro X7DB8+ Boot regression · 2786f6e3
      Rui Zhang 提交于
      http://bugzilla.kernel.org/show_bug.cgi?id=7695
      
      Originally we converted bind/unbind to use a new pci bridge driver.
      The driver will add/remove _PRT, so we can eventually remove
      .bind/.unbind methods.
      
      But we found that some of the _ADR-Based devices don't have _PRT,
      i.e. they are not managed by the new ACPI PCI bridge driver.
      So that .bind method is not called for some _ADR-Based devices,
      which leads to a failure.
      
      Now we make ACPI PCI Root Bridge Driver scan and binds all _ADR-Based devices
      once the driver is loaded, in the .add method of ACPI PCI Root Bridge driver.
      
      Extra code path for calling .bind/.unbind when _ADR-Based devices
      are hot added/removed is also added.
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      2786f6e3
    • Z
      ACPI: use PNPID:instance_no as bus_id of ACPI device · e49bd2dd
      Zhang Rui 提交于
      Previously we used the device name in the DSDT, but would
      crash upon encountering a duplicate. Also, exposing the
      DSDT device name to the user in a patch isn't a good idea,
      because it is arbitrary.
      
      After some discussion, we finally decided to use
      "PNPID:instance_no" as the bus_id of ACPI devices.
      
      Two attributes for each device are added at the same time,
      the full pathname in ACPI namespace and hardware_id if it has.
      
      NOTE:	acpi_bus_id_list is used to keep the information of PNPID
      	and instance number of the given PNPID. Loop the
      	acpi_bus_id_list to find the instance_no of the	same PNPID
      	when register a device. If failed, i.e. we don't have a
      	node with this PNPID, allocate one and link it to this list.
      
      NOTE:	Now I don't take the memory free work in charge.
      	If necessary, I can add a reference count in
      	struct acpi_device_bus_id, and check the reference and
      	when unregister a device, i.e. memory is freed when
      	the reference count of a given PNPID is 0.
      Signed-off-by: NLi Shaohua <shaohua.li@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e49bd2dd
    • B
      ACPI: replace kmalloc+memset with kzalloc · 36bcbec7
      Burman Yan 提交于
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      36bcbec7