PCI/VFIO: use pcie_flags_reg instead of access PCI-E Capabilities Register
authorYijing Wang <wangyijing@huawei.com>
Mon, 15 Apr 2013 14:45:10 +0000 (08:45 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 15 Apr 2013 14:45:10 +0000 (08:45 -0600)
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>

No differences found