diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-10-26 13:20:47 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-04 16:06:39 -0500 |
commit | 204d49a5613a06eb2fa5c3b842a29b1336cc7995 (patch) | |
tree | 942a75a2a900858c7bd34af0669256e09faae577 /drivers/pci/Kconfig | |
parent | 476f644edf7c22b47e6a118e4a1e138112a5ef14 (diff) |
PCI hotplug: move IOAPIC support from acpiphp to ioapic driver
This patch moves PCI I/O APIC support from acpiphp to a separate driver.
Like pciehp and shpchp, acpiphp handles PCI hotplug, i.e., addition and
removal of PCI adapters. But in addition, acpiphp handles some ACPI
hotplug, such as the addition of new host bridges, and the I/O APIC
support was tangled up with that.
I don't think the I/O APIC support needs to be in acpiphp; PCI I/O APICs
usually appear as a function on a PCI host bridge, and we'll enumerate the
APIC before any of the devices behind the bridge that use it.
As far as I know, nobody actually uses I/O APIC hotplug. It depends on
acpi_register_ioapic(), which is only implemented for ia64, and I don't
think any vendors have supported I/O chassis hotplug yet.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
CC: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
CC: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index fdc864f9cf23..d7d28aef8a27 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig | |||
@@ -69,3 +69,10 @@ config PCI_IOV | |||
69 | physical resources. | 69 | physical resources. |
70 | 70 | ||
71 | If unsure, say N. | 71 | If unsure, say N. |
72 | |||
73 | config PCI_IOAPIC | ||
74 | bool | ||
75 | depends on PCI | ||
76 | depends on ACPI | ||
77 | depends on HOTPLUG | ||
78 | default y | ||