aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 579a56c8181f..0471f6ea1466 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -785,6 +785,7 @@ static int pci_setup_device(struct pci_dev * dev)
785static void pci_release_capabilities(struct pci_dev *dev) 785static void pci_release_capabilities(struct pci_dev *dev)
786{ 786{
787 pci_vpd_release(dev); 787 pci_vpd_release(dev);
788 pci_iov_release(dev);
788} 789}
789 790
790/** 791/**
@@ -979,6 +980,9 @@ static void pci_init_capabilities(struct pci_dev *dev)
979 980
980 /* Alternative Routing-ID Forwarding */ 981 /* Alternative Routing-ID Forwarding */
981 pci_enable_ari(dev); 982 pci_enable_ari(dev);
983
984 /* Single Root I/O Virtualization */
985 pci_iov_init(dev);
982} 986}
983 987
984void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) 988void pci_device_add(struct pci_dev *dev, struct pci_bus *bus)