summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-04 22:55:00 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-10 12:19:31 -0800
commit3682a3946d2b0bad621db871e3bead83e523a238 (patch)
tree22fa013f268abeb35863ac7be2016912c4977762 /arch/x86/pci
parent8161fe91d8da34c1a231b6e2d4454b4b3179a5d4 (diff)
downloadop-kernel-dev-3682a3946d2b0bad621db871e3bead83e523a238.zip
op-kernel-dev-3682a3946d2b0bad621db871e3bead83e523a238.tar.gz
PCI: Fix pci cardbus removal
During test busn_res allocation with cardbus, found pci card removal is not working anymore, and it turns out it is broken by: |commit 79cc9601c3e42b4f0650fe7e69132ebce7ab48f9 |Date: Tue Nov 22 21:06:53 2011 -0800 | | PCI: Only call pci_stop_bus_device() one time for child devices at remove The above changed the behavior of pci_remove_behind_bridge that yenta_cardbus depended on. So restore the old behavoir of pci_remove_behind_bridge (which requires stopping and removing of all devices) by: 1. rename pci_remove_behind_bridge to __pci_remove_behind_bridge, and let __pci_remove_bus_device() call it instead. 2. add pci_stop_behind_bridge that will stop devices behind a bridge 3. add back pci_remove_behind_bridge that will stop and remove devices under bridge. -v2: update commit description a little bit. Tested-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud