commit | 786e22885d9959fda0473ace5a61cb11620fba9b | [log] [tgz] |
---|---|---|
author | Yijing Wang <wangyijing@huawei.com> | Tue Jul 24 17:20:02 2012 +0800 |
committer | Jiang Liu <liuj97@gmail.com> | Mon Aug 20 22:32:20 2012 +0800 |
tree | bfd70885b7d52deaef338ee212bf66ac682f8e42 | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee [diff] |
PCI: Add pcie_flags_reg to cache PCIe capabilities register Since PCI Express Capabilities Register is read only, cache its value into struct pci_dev to avoid repeatedly calling pci_read_config_*(). Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>