On Sun, 2006-05-21 at 09:31 -0500, James Bottomley wrote: > However, your accessor is: > > #define sg_dma_address(sg) (virt_to_bus((sg)->dma_address)) > > so you're calling virt_to_bus() on an already physical address.
It doesn't matter for kernel addresses on CPUs like SH and MIPS, because it's just a mask anyway. There's a 1:1 mapping from virtual<->physical addresses, and all you have to do to get a physical address is mask out the top bits. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
