summaryrefslogtreecommitdiffstats
path: root/drivers/pci/htirq.c
diff options
context:
space:
mode:
authorPeter Chubb2008-10-13 02:49:04 +0200
committerJesse Barnes2008-10-20 19:54:30 +0200
commite354597cce8d219d135d65e585dc4f30323486b9 (patch)
treedbf2a270f874c5ef56250021927de9ce56392e35 /drivers/pci/htirq.c
parentPCI: replace cfg space size (256/4096) by macros. (diff)
downloadkernel-qcow2-linux-e354597cce8d219d135d65e585dc4f30323486b9.tar.gz
kernel-qcow2-linux-e354597cce8d219d135d65e585dc4f30323486b9.tar.xz
kernel-qcow2-linux-e354597cce8d219d135d65e585dc4f30323486b9.zip
PCI: fix 64-vbit prefetchable memory resource BARs
Since patch 6ac665c63dcac8fcec534a1d224ecbb8b867ad59 my infiniband controller hasn't worked. This is because it has 64-bit prefetchable memory, which was mistakenly being taken to be 32-bit memory. The resource flags in this case are PCI_BASE_ADDRESS_MEM_TYPE_64 | PCI_BASE_ADDRESS_MEM_PREFETCH. This patch checks only for the PCI_BASE_ADDRESS_MEM_TYPE_64 bit; thus whether the region is prefetchable or not is ignored. This fixes my Infiniband. Reviewed-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/htirq.c')
0 files changed, 0 insertions, 0 deletions