summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
authorJohn Rose <johnrose@austin.ibm.com>2005-07-25 17:16:58 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 23:57:23 +0200
commit940903c5a5a906c622a79b3101586deb1a1b3480 (patch)
tree9bdeaf31e715e6f59f4202e7e8552df6bc794d94 /drivers/pci/hotplug/rpaphp.h
parent[PATCH] PCI Hotplug: rpaphp: Remove rpaphp_find_pci (diff)
downloadlinux-940903c5a5a906c622a79b3101586deb1a1b3480.tar.xz
linux-940903c5a5a906c622a79b3101586deb1a1b3480.zip
[PATCH] PCI Hotplug: rpaphp: Export slot enable
This patch exports rpaphp_config_pci_adapter() for use by the rpadlpar module. It also changes this function by removing any dependencies on struct slot. The patch also changes the RPA DLPAR-add path to enable newly-added slots in a separate step from that which registers them as hotplug slots. Signed-off-by: John Rose <johnrose@austin.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r--drivers/pci/hotplug/rpaphp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
index 8ecff0b950e8..064a0d66e3c5 100644
--- a/drivers/pci/hotplug/rpaphp.h
+++ b/drivers/pci/hotplug/rpaphp.h
@@ -98,6 +98,7 @@ extern int rpaphp_enable_pci_slot(struct slot *slot);
extern int register_pci_slot(struct slot *slot);
extern int rpaphp_unconfig_pci_adapter(struct slot *slot);
extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value);
+extern int rpaphp_config_pci_adapter(struct pci_bus *bus);
/* rpaphp_core.c */
extern int rpaphp_add_slot(struct device_node *dn);