]> err.no Git - linux-2.6/commit
[PATCH] PCI Hotplug: rpaphp: Move VIO registration
authorJohn Rose <johnrose@austin.ibm.com>
Mon, 25 Jul 2005 15:16:42 +0000 (10:16 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 21:57:22 +0000 (14:57 -0700)
commit5eeb8c63a38ff20285f3bbe7bcfe5e7c33c8ba14
tree81827bae5ac66dd8ca51cfe60740a64ca53e0759
parentbde168412440084e649e7e04938bd1ab6e7bf978
[PATCH] PCI Hotplug: rpaphp: Move VIO registration

Currently, rpaphp registers Virtual I/O slots as hotplug slots.  The
only purpose of this registration is to ensure that the VIO subsystem
is notified of new VIO buses during DLPAR adds.  Similarly, rpaphp
notifies the VIO subsystem when a VIO bus is DLPAR-removed.  The rpaphp
module has special case code to fake results for attributes like power,
adapter status, etc.

The VIO register/unregister functions could just as easily be made from
the DLPAR module.  This patch moves the VIO registration calls to the
DLPAR module, and removes the VIO fluff from rpaphp altogether.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/Makefile
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/hotplug/rpaphp.h
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/rpaphp_pci.c
drivers/pci/hotplug/rpaphp_slot.c
drivers/pci/hotplug/rpaphp_vio.c [deleted file]