Re: [PATCH] move dma_consistent_dma_mask to the generic device

From: Andrew Morton
Date: Wed Feb 25 2004 - 21:07:54 EST


James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote:
>
> pci_dev.consistent_dma_mask was introduced to get around problems in the
> IA64 Altix machine.
>
> Now, we have a use for it in x86: the aacraid needs coherent memory in a
> 31 bit address range (2GB). Unfortunately, x86 is converted to the dma
> model, so it can't see the pci_dev by the time coherent memory is
> allocated.
>
> The solution to all of this is to move pci_dev.consistent_dma_mask to
> dev.coherent_dma_mask and make x86 use it in the dma_alloc_coherent()
> calls.

A bit more grepping is needed.

sound/core/memalloc.c: In function `snd_pci_hack_alloc_consistent':
sound/core/memalloc.c:103: structure has no member named `consistent_dma_mask'

-
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/