• J
    [PATCH] PCI Hotplug: rpaphp: Move VIO registration · 5eeb8c63
    John Rose 提交于
    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: NJohn Rose <johnrose@austin.ibm.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    5eeb8c63
rpaphp_pci.c 12.3 KB