On Wed, Feb 18, 2009 at 01:56:44AM +0800, Yu Zhao wrote: > + max = pci_resource_limit(dev, resno); > + > /* First, try exact prefetching match.. */ > - ret = pci_bus_alloc_resource(bus, res, size, align, min, > + ret = pci_bus_alloc_resource(bus, res, size, align, min, max, > IORESOURCE_PREFETCH, > pcibios_align_resource, dev); This breaks resource allocation on alpha and probably other arches with multiple pci domains. You cannot assume that resource start is equal to the bus address of the respective BAR. Even 32-bit BARs can have a resource->start well above 4G. Ivan. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html