• MUNEDA Takahiro's avatar
    [PATCH] acpiphp: hotplug slot hotplug · 551bcb75
    MUNEDA Takahiro authored
    o hotplug slots add
      When the hot-added PCI device is p2p bridge, acpiphp calls
      find_p2p_bridge() to add hotplug slots.
    
    o hotplug slots remove
      When the hot-removing PCI device is p2p bridge, acpiphp
      calls cleanup_p2p_bridge() to remove hotplug slots.
    
    o notify handler exchange
      When the p2p bridge is added, acpiphp changes the notify
      hanlder.
      If no bridge device is inserted into the hotpluggable PCI
      slot, acpiphp installs the notify handler for function.
      After the p2p bridge hot-add, acpiphp has to install the
      notify handler for bridge. Because, the role of the
      handlers are not same. The hot-remove case is ditto.
    Signed-off-by: default avatarMUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    551bcb75
acpiphp.h 7.16 KB