Re: [PATCH] move consistent_dma_mask to the generic device

From: Jeremy Higdon
Date: Fri Feb 27 2004 - 02:00:07 EST


I haven't had a chance to try it yet, but it looks good.

If you're going to get rid of pci_dev.consistent_dma_mask in favor
of pci_dev.dev.coherent_dma_mask, would you want to do the same
with pci_dev.dma_mask?

Which brings to mind a second question; why is device.dma_mask
a u64 * instead of u64? Does it typically point to pci_dev.dma_mask?

thanks

jeremy


On Thu, Feb 26, 2004 at 10:53:12AM -0600, James Bottomley wrote:
> This is a reroll of the previous patch. It fixes up badness in the
> sound drivers which were accessing the dma_mask directly instead of
> using the accessor functions.
>
> It also modifies the arch's that were using consistent_dma_mask:
>
> x86_64, ia64 (both sn and hp) and parisc
-
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/