PCI: ACPI PCI slot detection driver

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.

[[email protected]: export-kobject_rename-for-pci_hotplug_core]
Signed-off-by: Kenji Kaneshige <[email protected]>
Acked-by: Greg KH <[email protected]>
[[email protected]: build fix]
[[email protected]: fix build with CONFIG_DMI=n]
Signed-off-by: Alex Chiang <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Kristen Carlson Accardi <[email protected]>
Cc: Len Brown <[email protected]>
Acked-by: Len Brown <[email protected]>
Acked-by: Kenji Kaneshige <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
This commit is contained in:
Alex Chiang 2008-06-10 15:30:42 -06:00 • committed by Jesse Barnes
commit 8344b568f5
6 changed files with 396 additions and 1 deletions

View file

@ -439,6 +439,7 @@ out:
return error;
}
EXPORT_SYMBOL_GPL(kobject_rename);
/**
* kobject_move - move object to another parent