diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2013-09-06 09:45:58 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-25 15:44:58 -0600 |
commit | 3ad94b0d795c50836160781e63ee6bb752766aaf (patch) | |
tree | 20cf9003c1aa3b1124cd6d0a1878a0568bf45d0f /firmware | |
parent | 77a0dfcd8a4d9a93a21c8be56eaeb65cd69b351d (diff) |
PCI: Pass type, width, and prefetchability for window alignment
When calculating window_alignment(), type information like IORESOURCE_MEM
and IORESOURCE_PREFETCH may not be enough. For example, on powernv, we
need to know whether the window is 64-bit or not.
This patch passes the full resource type (res->flags) for window alignment.
[bhelgaas: changelog]
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions