search for: scan_all_fns

Displaying 6 results from an estimated 6 matches for "scan_all_fns".

2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...+ + return PCI_ARI_CAP_NFN(cap); +} +EXPORT_SYMBOL_GPL(pci_ari_next_fn); diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index d030996..e8506fe 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1032,6 +1032,9 @@ int pci_scan_slot(struct pci_bus *bus, i int func, nr = 0; int scan_all_fns; + if (bus->self) + pci_ari_enable_fwd(bus->self); + scan_all_fns = pcibios_scan_all_fns(bus, devfn); for (func = 0; func < 8; func++, devfn++) { diff --git a/include/linux/pci.h b/include/linux/pci.h index 9ea3a1d..110779a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci....
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...+ + return PCI_ARI_CAP_NFN(cap); +} +EXPORT_SYMBOL_GPL(pci_ari_next_fn); diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index d030996..e8506fe 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1032,6 +1032,9 @@ int pci_scan_slot(struct pci_bus *bus, i int func, nr = 0; int scan_all_fns; + if (bus->self) + pci_ari_enable_fwd(bus->self); + scan_all_fns = pcibios_scan_all_fns(bus, devfn); for (func = 0; func < 8; func++, devfn++) { diff --git a/include/linux/pci.h b/include/linux/pci.h index 9ea3a1d..110779a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci....
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...+ + return PCI_ARI_CAP_NFN(cap); +} +EXPORT_SYMBOL_GPL(pci_ari_next_fn); diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index d030996..e8506fe 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1032,6 +1032,9 @@ int pci_scan_slot(struct pci_bus *bus, i int func, nr = 0; int scan_all_fns; + if (bus->self) + pci_ari_enable_fwd(bus->self); + scan_all_fns = pcibios_scan_all_fns(bus, devfn); for (func = 0; func < 8; func++, devfn++) { diff --git a/include/linux/pci.h b/include/linux/pci.h index 9ea3a1d..110779a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci....
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...able_fwd(struct pci_dev *dev) +{ +} +#endif /* CONFIG_PCI_ARI */ diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 3994ea3..ad7ad35 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1059,6 +1059,9 @@ int pci_scan_slot(struct pci_bus *bus, int devfn) int func, nr = 0; int scan_all_fns; + if (bus->self) + pci_ari_enable_fwd(bus->self); + scan_all_fns = pcibios_scan_all_fns(bus, devfn); for (func = 0; func < 8; func++, devfn++) { diff --git a/include/linux/pci.h b/include/linux/pci.h index 4b8018f..8ed7405 100644 --- a/include/linux/pci.h +++ b/include/linux/pci....
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...able_fwd(struct pci_dev *dev) +{ +} +#endif /* CONFIG_PCI_ARI */ diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 3994ea3..ad7ad35 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1059,6 +1059,9 @@ int pci_scan_slot(struct pci_bus *bus, int devfn) int func, nr = 0; int scan_all_fns; + if (bus->self) + pci_ari_enable_fwd(bus->self); + scan_all_fns = pcibios_scan_all_fns(bus, devfn); for (func = 0; func < 8; func++, devfn++) { diff --git a/include/linux/pci.h b/include/linux/pci.h index 4b8018f..8ed7405 100644 --- a/include/linux/pci.h +++ b/include/linux/pci....
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...able_fwd(struct pci_dev *dev) +{ +} +#endif /* CONFIG_PCI_ARI */ diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 3994ea3..ad7ad35 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1059,6 +1059,9 @@ int pci_scan_slot(struct pci_bus *bus, int devfn) int func, nr = 0; int scan_all_fns; + if (bus->self) + pci_ari_enable_fwd(bus->self); + scan_all_fns = pcibios_scan_all_fns(bus, devfn); for (func = 0; func < 8; func++, devfn++) { diff --git a/include/linux/pci.h b/include/linux/pci.h index 4b8018f..8ed7405 100644 --- a/include/linux/pci.h +++ b/include/linux/pci....