Re: [PATCH 21 of 53] ipath - use phys_to_virt instead of bus_to_virt

From: Roland Dreier
Date: Mon May 15 2006 - 11:50:15 EST


> I think Roland already has this patch.

> * This is a bit of a hack since we rely on dma_map_single()
> - * being reversible by calling bus_to_virt().
> + * being reversible by calling phys_to_virt().

Actually I NAK'ed this patch. It compiles the same thing on x86_64
but makes the source code wrong -- dma_map_single() returns a bus
address, not a physical address.

- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/