• John Rose's avatar
    [PATCH] PCI: rpaphp: remove init error condition · e6ad0057
    John Rose authored
    The init function for the RPA PCI Hotplug driver returns -ENODEV in the
    case that no hotplug-capable slots are detected in the system.  This is
    bad, since hot-capable slots can be added after boot to a purely virtual
    POWER partition.  This is also bad because DLPAR I/O operations depend
    on the rpaphp module.
    
    Change the rpaphp init module to return success for the case of
    partitions that own no hotplug-capable slots at boot.  Such slots can be
    dynamically added after boot.
    Signed-off-by: default avatarJohn Rose <johnrose@austin.ibm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    e6ad0057
rpaphp_core.c 10.6 KB