diff options
author | Wei Yang <[email protected]> | 2013-09-06 09:45:58 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-09-25 15:44:58 -0600 |
commit | 3ad94b0d795c50836160781e63ee6bb752766aaf (patch) | |
tree | 20cf9003c1aa3b1124cd6d0a1878a0568bf45d0f /net/lapb/lapb_iface.c | |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Gavin Shan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions