Re: PATCH] dma_get_required_mask()

From: David S. Miller
Date: Mon Jun 28 2004 - 17:31:17 EST


On 28 Jun 2004 16:10:43 -0500
James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote:

> This patch implements dma_get_required_mask() which may be used by
> drivers to probe the optimal DMA descriptor type they should be
> implementing on the platform.

Maybe you should tweak the default implementation such that
something reasonable happens on 64-bit platforms that
define dma_addr_t as a 32-bit quantity. :-)

Of course, you've provided ARCH_HAS_DMA_GET_REQUIRED_MASK
in order to deal with these cases, so it's not mandatory.
-
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/