diff options
author | Christian König <christian.koenig@amd.com> | 2017-10-24 21:40:20 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-10-24 21:40:20 +0200 |
commit | 276b738deb5bf856b9f6049fcd92a967f52643d7 (patch) | |
tree | cac0ccc12391b30c519e116c696955da34fdb8cb /drivers/pci/setup-res.c | |
parent | PCI: Add PCI resource type mask #define (diff) | |
download | linux-276b738deb5bf856b9f6049fcd92a967f52643d7.tar.xz linux-276b738deb5bf856b9f6049fcd92a967f52643d7.zip |
PCI: Add resizable BAR infrastructure
Add resizable BAR infrastructure, including defines and helper functions to
read the possible sizes of a BAR and update its size. See PCIe r3.1, sec
7.22.
Link: https://pcisig.com/sites/default/files/specification_documents/ECN_Resizable-BAR_24Apr2008.pdf
Signed-off-by: Christian König <christian.koenig@amd.com>
[bhelgaas: rename to functions with "rebar" (to match #defines), drop shift
#defines, drop "_MASK" suffixes, fix typos, fix kerneldoc]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/pci/setup-res.c')
0 files changed, 0 insertions, 0 deletions