summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2013-09-06 09:45:58 +0800
committerBjorn Helgaas <bhelgaas@google.com>2013-09-25 15:44:58 -0600
commit3ad94b0d795c50836160781e63ee6bb752766aaf (patch)
tree20cf9003c1aa3b1124cd6d0a1878a0568bf45d0f /drivers/pci/quirks.c
parent77a0dfcd8a4d9a93a21c8be56eaeb65cd69b351d (diff)
downloadlinux-stable-3ad94b0d795c50836160781e63ee6bb752766aaf.tar.gz
linux-stable-3ad94b0d795c50836160781e63ee6bb752766aaf.tar.bz2
linux-stable-3ad94b0d795c50836160781e63ee6bb752766aaf.zip
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 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions