diff options
| author | Yijing Wang <wangyijing@huawei.com> | 2012-07-24 17:20:02 +0800 |
|---|---|---|
| committer | Jiang Liu <liuj97@gmail.com> | 2012-08-20 22:32:20 +0800 |
| commit | 786e22885d9959fda0473ace5a61cb11620fba9b (patch) | |
| tree | bfd70885b7d52deaef338ee212bf66ac682f8e42 /scripts/mod/file2alias.c | |
| 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>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
