PCI: Stop all children first, before removing all children
authorYinghai Lu <yinghai@kernel.org>
Wed, 19 Sep 2012 18:54:20 +0000 (11:54 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Sep 2012 23:37:23 +0000 (17:37 -0600)
commit3891b6acb4f443cbe2e99367ee5e67c6bc29d446
tree31f19d4d3ca748c526e0bb82a670613c6c71ca40
parent94bb346480f8646871e5547491b5746ae0a643c3
PCI: Stop all children first, before removing all children

This restores the previous behavior of stopping all child devices before
removing any of them.  The current SR-IOV design, where removing the PF
also drops references on all the VFs, depends on having the VFs continue
to exist after having been stopped.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/remove.c
This page took 0.026214 seconds and 5 git commands to generate.