diff options
author | Zoltan Kiss <zoltan.kiss@citrix.com> | 2013-08-22 23:19:18 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-08-23 09:21:19 -0600 |
commit | 808e34e2cd6bc74a2311b6a00d12a52e37fb50c0 (patch) | |
tree | 140b13a3e3946b3695176ea9c989e658d8a1b09e /include/asm-generic/bitops/builtin-fls.h | |
parent | da27f4b3ec77a04672345381cbfeeb841d427327 (diff) |
PCI: Disable decoding for BAR sizing only when it was actually enabled
We disable BARs while sizing them so we don't cause conflicts with other
devices (see 253d2e5498 and bbffe43524). But if device decoding is already
disabled before we size the BAR, we don't need to disable it again.
[bhelgaas: changelog, add PCI_COMMAND_DECODING_ENABLE for readability]
Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/asm-generic/bitops/builtin-fls.h')
0 files changed, 0 insertions, 0 deletions