Peter Chubb e354597cce 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>
2008-10-20 10:54:30 -07:00
..
2005-10-18 08:26:15 -07:00
2008-10-20 10:53:51 -07:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2008-07-18 22:50:34 +02:00
2006-12-01 14:36:56 -08:00
2008-09-26 18:59:05 -06:00
2008-06-25 16:05:13 -07:00