]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/pci: remove pdev during unplug
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 5 Jun 2013 14:07:28 +0000 (16:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 10 Jun 2013 14:06:16 +0000 (16:06 +0200)
commitcb5fc0f42d3c45b5389b2cab9bb8de32c2081442
tree711477627e228150cb8273be2e3cd591656a233e
parent77a0f7293812e5bd14873e2b84641bd896e7170b
s390/pci: remove pdev during unplug

The disable slot implementation on s390 currently just detaches the
pci function from the partition - without informing the pci layer.
Fix this by calling pci_stop_and_remove_bus_device prior to the
operation.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_clp.c
drivers/pci/hotplug/s390_pci_hpc.c