summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-01-15 11:12:17 +0800
committerBjorn Helgaas <bhelgaas@google.com>2013-01-25 09:21:10 -0700
commit31ab247623c541d56b39a0b792cdfe4e94dd2a45 (patch)
tree3838e5dc56b41e1fdeae6e4612a0d2240543d8e9 /drivers/pci/pci.c
parentb0cc6020e1cc62f1253215f189611b34be4a83c7 (diff)
downloadop-kernel-dev-31ab247623c541d56b39a0b792cdfe4e94dd2a45.zip
op-kernel-dev-31ab247623c541d56b39a0b792cdfe4e94dd2a45.tar.gz
PCI: Rename pci_enable_ari() to pci_configure_ari()
pci_enable_ari() now supports enabling or disabling ARI forwarding. So rename pci_enable_ari() to pci_configure_ari() for easy understanding. No functional change. [bhelgaas: changelog] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 8b47f70..66eefef 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2067,13 +2067,13 @@ void pci_free_cap_save_buffers(struct pci_dev *dev)
}
/**
- * pci_enable_ari - enable ARI forwarding if hardware support it
+ * pci_configure_ari - enable or disable ARI forwarding
* @dev: the PCI device
*
* If @dev and its upstream bridge both support ARI, enable ARI in the
* bridge. Otherwise, disable ARI in the bridge.
*/
-void pci_enable_ari(struct pci_dev *dev)
+void pci_configure_ari(struct pci_dev *dev)
{
u32 cap;
struct pci_dev *bridge;
OpenPOWER on IntegriCloud