diff options
author | Knut Omang <knut.omang@oracle.com> | 2014-08-24 15:32:18 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-08-25 00:16:06 +0200 |
commit | 821be9dbb220389eaa6857705e1df9e64888138f (patch) | |
tree | ff4ddb7187b409abe1f0c12902faf1dfa087a612 /include/hw | |
parent | ec70b46babac79efc249c8780cafeae97d1c3059 (diff) | |
download | qemu-821be9dbb220389eaa6857705e1df9e64888138f.tar.gz qemu-821be9dbb220389eaa6857705e1df9e64888138f.tar.bz2 qemu-821be9dbb220389eaa6857705e1df9e64888138f.zip |
pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_*
Rename helper functions to make a clearer distinction between
the PCIe capability/control register feature ARI forwarding and a
device that supports the ARI feature via an ARI extended PCIe capability.
Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/pci/pcie.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/hw/pci/pcie.h b/include/hw/pci/pcie.h index 7fe81f31ef..d139d588f6 100644 --- a/include/hw/pci/pcie.h +++ b/include/hw/pci/pcie.h @@ -103,9 +103,10 @@ void pcie_cap_flr_init(PCIDevice *dev); void pcie_cap_flr_write_config(PCIDevice *dev, uint32_t addr, uint32_t val, int len); -void pcie_cap_ari_init(PCIDevice *dev); -void pcie_cap_ari_reset(PCIDevice *dev); -bool pcie_cap_is_ari_enabled(const PCIDevice *dev); +/* ARI forwarding capability and control */ +void pcie_cap_arifwd_init(PCIDevice *dev); +void pcie_cap_arifwd_reset(PCIDevice *dev); +bool pcie_cap_is_arifwd_enabled(const PCIDevice *dev); /* PCI express extended capability helper functions */ uint16_t pcie_find_capability(PCIDevice *dev, uint16_t cap_id); |