diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-06-05 10:07:28 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-06-26 15:10:08 -0400 |
commit | 8b2a7e609bfcb26ed3639da9eda3fea42c009b65 (patch) | |
tree | 3ba9126746a67626411d1581b2b2fac43127832a /arch/s390/pci | |
parent | 4bee2a5dce45096851cb8694d962bf8c016816a8 (diff) |
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>
Diffstat (limited to 'arch/s390/pci')
-rw-r--r-- | arch/s390/pci/pci_clp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/pci/pci_clp.c b/arch/s390/pci/pci_clp.c index bd34359d1546..2e9539625d93 100644 --- a/arch/s390/pci/pci_clp.c +++ b/arch/s390/pci/pci_clp.c | |||
@@ -236,7 +236,6 @@ int clp_disable_fh(struct zpci_dev *zdev) | |||
236 | if (!zdev_enabled(zdev)) | 236 | if (!zdev_enabled(zdev)) |
237 | return 0; | 237 | return 0; |
238 | 238 | ||
239 | dev_info(&zdev->pdev->dev, "disabling fn handle: 0x%x\n", fh); | ||
240 | rc = clp_set_pci_fn(&fh, 0, CLP_SET_DISABLE_PCI_FN); | 239 | rc = clp_set_pci_fn(&fh, 0, CLP_SET_DISABLE_PCI_FN); |
241 | if (!rc) | 240 | if (!rc) |
242 | /* Success -> store disabled handle in zdev */ | 241 | /* Success -> store disabled handle in zdev */ |