1. 13 6月, 2009 1 次提交
  2. 23 10月, 2008 2 次提交
  3. 11 10月, 2008 1 次提交
  4. 11 6月, 2008 2 次提交
    • A
      PCI: ACPI PCI slot detection driver · 8344b568
      Alex Chiang 提交于
      Detect all physical PCI slots as described by ACPI, and create entries in
      /sys/bus/pci/slots/.
      
      Not all physical slots are hotpluggable, and the acpiphp module does not
      detect them.  Now we know the physical PCI geography of our system, without
      caring about hotplug.
      
      [kaneshige.kenji@jp.fujitsu.com: export-kobject_rename-for-pci_hotplug_core]
      Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Acked-by: NGreg KH <greg@kroah.com>
      [akpm@linux-foundation.org: build fix]
      [akpm@linux-foundation.org: fix build with CONFIG_DMI=n]
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
      Cc: Len Brown <lenb@kernel.org>
      Acked-by: NLen Brown <len.brown@intel.com>
      Acked-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      8344b568
    • A
      PCI: introduce pci_slot · f46753c5
      Alex Chiang 提交于
      Currently, /sys/bus/pci/slots/ only exposes hotplug attributes when a
      hotplug driver is loaded, but PCI slots have attributes such as address,
      speed, width, etc.  that are not related to hotplug at all.
      
      Introduce pci_slot as the primary data structure and kobject model.
      Hotplug attributes described in hotplug_slot become a secondary
      structure associated with the pci_slot.
      
      This patch only creates the infrastructure that allows the separation of
      PCI slot attributes and hotplug attributes.  In this patch, the PCI
      hotplug core remains the only user of this infrastructure, and thus,
      /sys/bus/pci/slots/ will still only become populated when a hotplug
      driver is loaded.
      
      A later patch in this series will add a second user of this new
      infrastructure and demonstrate splitting the task of exposing pci_slot
      attributes from hotplug_slot attributes.
      
        - Make pci_slot the primary sysfs entity. hotplug_slot becomes a
          subsidiary structure.
          o pci_create_slot() creates and registers a slot with the PCI core
          o pci_slot_add_hotplug() gives it hotplug capability
      
        - Change the prototype of pci_hp_register() to take the bus and
          slot number (on parent bus) as parameters.
      
        - Remove all the ->get_address methods since this functionality is
          now handled by pci_slot directly.
      
      [achiang@hp.com: rpaphp-correctly-pci_hp_register-for-empty-pci-slots]
      Tested-by: NBadari Pulavarty <pbadari@us.ibm.com>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      [akpm@linux-foundation.org: build fix]
      [akpm@linux-foundation.org: make headers_check happy]
      [akpm@linux-foundation.org: nuther build fix]
      [akpm@linux-foundation.org: fix typo in #include]
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Signed-off-by: NMatthew Wilcox <matthew@wil.cx>
      Cc: Greg KH <greg@kroah.com>
      Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
      Cc: Len Brown <lenb@kernel.org>
      Acked-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      f46753c5
  5. 21 4月, 2008 1 次提交
  6. 11 5月, 2007 1 次提交
  7. 03 2月, 2007 1 次提交
    • J
      Altix: Add ACPI SSDT PCI device support (hotplug) · 3e643e77
      John Keller 提交于
      Support for dynamic loading and unloading of ACPI SSDT tables upon slot
      hotplugs and unplugs.
      
      On SN platforms, we now represent every populated root bus slot with a single
      ACPI SSDT table containing info for every device and PPB attached to the slot.
       These SSDTs are generated by the prom at initial boot and hotplug time.  The
      info in these SSDT tables is used by the SN kernel IO "fixup" code (which is
      called at boot and hotplug time).
      
      On hotplugs (i.e.  enable_slot()), if running with an ACPI capable prom,
      attempt to obtain a new ACPI SSDT table for the slot being hotplugged.  If
      successful, add the table to the ACPI namespace (acpi_load_table()) and then
      walk the new devices and add them to the ACPI infrastructure (acpi_bus_add()).
      
      On hot unplugs (i.e.  disable_slot()), if running with an ACPI capable prom,
      attempt to remove the SSDT table associated with the slot from the ACPI
      namespace (acpi_unload_table_id()) and infastructure (acpi_bus_trim()).
      
      From: John Keller <jpk@sgi.com>
      
       A bug was fixed where the sgi hotplug driver was removing
       the slot's SSDT table from the ACPI namespace a bit too early in
       disable_slot(). Also, we now call acpi_bus_start() subsequent
       to acpi_bus_add().
      Signed-off-by: NAaron Young <ayoung@sgi.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: Len Brown<len.brown@intel.com>
      3e643e77
  8. 02 12月, 2006 1 次提交
  9. 19 10月, 2006 1 次提交
  10. 20 6月, 2006 2 次提交
  11. 27 3月, 2006 1 次提交
  12. 24 3月, 2006 1 次提交
  13. 22 9月, 2005 1 次提交
  14. 09 9月, 2005 1 次提交
  15. 07 7月, 2005 1 次提交