summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2013-09-06 03:45:58 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-09-25 23:44:58 +0200
commit3ad94b0d795c50836160781e63ee6bb752766aaf (patch)
tree20cf9003c1aa3b1124cd6d0a1878a0568bf45d0f /drivers/pci/quirks.c
parentPCI: Document reason for using pci_is_root_bus() (diff)
downloadlinux-3ad94b0d795c50836160781e63ee6bb752766aaf.tar.xz
linux-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