commit | aa2cba51a0a85dfbd5be58239e59bc5e8b5fb7cf | [log] [tgz] |
---|---|---|
author | Yijing Wang <wangyijing@huawei.com> | Mon Apr 15 08:45:10 2013 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Apr 15 08:45:10 2013 -0600 |
tree | 78d34a8efe088c0cbec88c152f1f47c61e247247 | |
parent | a7d1ea1c11b33bda2691f3294b4d735ed635535a [diff] |
PCI/VFIO: use pcie_flags_reg instead of access PCI-E Capabilities Register Currently, we use pcie_flags_reg to cache PCI-E Capabilities Register, because PCI-E Capabilities Register bits are almost read-only. This patch use pcie_caps_reg() instead of another access PCI-E Capabilities Register. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>