diff options
author | Alex Chiang <achiang@hp.com> | 2008-06-10 17:30:42 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-10 17:37:14 -0400 |
commit | 8344b568f5bdc7ee1bba909de3294c6348c36056 (patch) | |
tree | e4406d8a1210baa4e5cc665b576dca7318e8f4f1 /drivers/acpi/Kconfig | |
parent | f46753c5e354b857b20ab8e0fe7b2579831dc369 (diff) |
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.
[kaneshige.kenji@jp.fujitsu.com: export-kobject_rename-for-pci_hotplug_core]
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Greg KH <greg@kroah.com>
[akpm@linux-foundation.org: build fix]
[akpm@linux-foundation.org: fix build with CONFIG_DMI=n]
Signed-off-by: Alex 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: Len Brown <len.brown@intel.com>
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r-- | drivers/acpi/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index c52fca833268..250d41a24f78 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -338,6 +338,15 @@ config ACPI_EC | |||
338 | the battery and thermal drivers. If you are compiling for a | 338 | the battery and thermal drivers. If you are compiling for a |
339 | mobile system, say Y. | 339 | mobile system, say Y. |
340 | 340 | ||
341 | config ACPI_PCI_SLOT | ||
342 | tristate "PCI slot detection driver" | ||
343 | default n | ||
344 | help | ||
345 | This driver will attempt to discover all PCI slots in your system, | ||
346 | and creates entries in /sys/bus/pci/slots/. This feature can | ||
347 | help you correlate PCI bus addresses with the physical geography | ||
348 | of your slots. If you are unsure, say N. | ||
349 | |||
341 | config ACPI_POWER | 350 | config ACPI_POWER |
342 | bool | 351 | bool |
343 | default y | 352 | default y |