]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] acpiphp: host and p2p hotplug
authorMUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Wed, 22 Mar 2006 05:49:27 +0000 (14:49 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 19 Jun 2006 21:13:22 +0000 (14:13 -0700)
I encountered the problem that when there are some hotplug
slots are under the host bridge, the hotplug slots under the
p2p bridge are not treated as hotpluggable.

This patch fixes this BUG.

Signed-off-by: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/acpiphp_glue.c

index 631efce3a6ce98832f87f180996bf3f7e8dd6d26..bbe27c16bc3d0ff09f8657df6f36cb8e767c879d 100644 (file)
@@ -546,7 +546,6 @@ static int add_bridge(acpi_handle handle)
        if (detect_ejectable_slots(handle) > 0) {
                dbg("found PCI host-bus bridge with hot-pluggable slots\n");
                add_host_bridge(handle, pci_bus);
-               return 0;
        }
 
        /* search P2P bridges under this host bridge */