1. 12 Oct, 2007 1 commit
    • Kay Sievers's avatar
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers authored
      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: default avatarKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
  2. 24 Aug, 2007 1 commit
  3. 23 Jul, 2007 1 commit
  4. 08 May, 2007 1 commit
  5. 25 Apr, 2007 1 commit
  6. 12 Feb, 2007 2 commits
  7. 02 Feb, 2007 3 commits
  8. 30 Jan, 2007 1 commit
  9. 29 Jan, 2007 1 commit
  10. 05 Jan, 2007 1 commit
  11. 21 Dec, 2006 2 commits
    • Rui Zhang's avatar
      ACPI: fix Supermicro X7DB8+ Boot regression · 2786f6e3
      Rui Zhang authored
      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: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    • Zhang Rui's avatar
      ACPI: use PNPID:instance_no as bus_id of ACPI device · e49bd2dd
      Zhang Rui authored
      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: default avatarLi Shaohua <shaohua.li@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
  12. 20 Dec, 2006 1 commit
  13. 15 Dec, 2006 10 commits
  14. 15 Aug, 2006 1 commit
  15. 12 Jul, 2006 1 commit
  16. 09 Jul, 2006 2 commits
  17. 30 Jun, 2006 2 commits
  18. 28 Jun, 2006 1 commit
  19. 26 Jun, 2006 3 commits
  20. 15 May, 2006 2 commits
  21. 13 May, 2006 2 commits