1. 17 7月, 2008 1 次提交
  2. 29 4月, 2008 1 次提交
  3. 23 4月, 2008 1 次提交
  4. 10 4月, 2008 1 次提交
  5. 26 3月, 2008 1 次提交
  6. 11 3月, 2008 1 次提交
  7. 21 2月, 2008 1 次提交
  8. 07 2月, 2008 1 次提交
  9. 03 2月, 2008 1 次提交
  10. 02 1月, 2008 1 次提交
  11. 08 12月, 2007 1 次提交
  12. 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
  13. 25 8月, 2007 1 次提交
  14. 24 7月, 2007 1 次提交
  15. 09 5月, 2007 1 次提交
  16. 26 4月, 2007 1 次提交
  17. 13 2月, 2007 2 次提交
  18. 03 2月, 2007 3 次提交
  19. 30 1月, 2007 2 次提交
  20. 06 1月, 2007 1 次提交
  21. 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
  22. 16 12月, 2006 10 次提交
  23. 16 8月, 2006 1 次提交
  24. 13 7月, 2006 1 次提交
  25. 10 7月, 2006 1 次提交