|
@@ -339,13 +339,13 @@ failed:
|
|
|
iov->ctrl &= ~(PCI_SRIOV_CTRL_VFE | PCI_SRIOV_CTRL_MSE);
|
|
|
pci_cfg_access_lock(dev);
|
|
|
pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl);
|
|
|
- pci_iov_set_numvfs(dev, 0);
|
|
|
ssleep(1);
|
|
|
pci_cfg_access_unlock(dev);
|
|
|
|
|
|
if (iov->link != dev->devfn)
|
|
|
sysfs_remove_link(&dev->dev.kobj, "dep_link");
|
|
|
|
|
|
+ pci_iov_set_numvfs(dev, 0);
|
|
|
return rc;
|
|
|
}
|
|
|
|