Displaying 4 results from an estimated 4 matches for "fe9efc4".
2008 Sep 27
2
[PATCH 3/6 v3] PCI: support ARI capability
...+++++++++++++++
drivers/pci/pci.h | 12 ++++++++++++
drivers/pci/probe.c | 3 +++
include/linux/pci.h | 1 +
include/linux/pci_regs.h | 14 ++++++++++++++
5 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 400d3b3..fe9efc4 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1260,6 +1260,37 @@ void pci_pm_init(struct pci_dev *dev)
}
}
+/**
+ * pci_ari_init - turn on ARI forwarding if it's supported
+ * @dev: the PCI device
+ */
+void pci_ari_init(struct pci_dev *dev)
+{
+ int pos;
+ u3...
2008 Sep 27
2
[PATCH 3/6 v3] PCI: support ARI capability
...+++++++++++++++
drivers/pci/pci.h | 12 ++++++++++++
drivers/pci/probe.c | 3 +++
include/linux/pci.h | 1 +
include/linux/pci_regs.h | 14 ++++++++++++++
5 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 400d3b3..fe9efc4 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1260,6 +1260,37 @@ void pci_pm_init(struct pci_dev *dev)
}
}
+/**
+ * pci_ari_init - turn on ARI forwarding if it's supported
+ * @dev: the PCI device
+ */
+void pci_ari_init(struct pci_dev *dev)
+{
+ int pos;
+ u3...
2008 Sep 27
3
[PATCH 4/6 v3] PCI: support SR-IOV capability
...pci_iov_create_sysfs(dev);
+
return 0;
}
@@ -822,6 +825,7 @@ static void pci_remove_capabilities_sysfs(struct pci_dev *dev)
}
pcie_aspm_remove_sysfs_dev_files(dev);
+ pci_iov_remove_sysfs(dev);
}
/**
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index fe9efc4..bf60951 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1898,7 +1898,12 @@ int pci_resource_alignment(struct pci_dev *dev, int resno)
if (resno <= PCI_ROM_RESOURCE)
return resource_size(res);
- else if (resno <= PCI_BRIDGE_RES_END)
+ else if (r...
2008 Sep 27
3
[PATCH 4/6 v3] PCI: support SR-IOV capability
...pci_iov_create_sysfs(dev);
+
return 0;
}
@@ -822,6 +825,7 @@ static void pci_remove_capabilities_sysfs(struct pci_dev *dev)
}
pcie_aspm_remove_sysfs_dev_files(dev);
+ pci_iov_remove_sysfs(dev);
}
/**
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index fe9efc4..bf60951 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1898,7 +1898,12 @@ int pci_resource_alignment(struct pci_dev *dev, int resno)
if (resno <= PCI_ROM_RESOURCE)
return resource_size(res);
- else if (resno <= PCI_BRIDGE_RES_END)
+ else if (r...