Re: Proposal for new generic device API: dma_get_required_mask()

Russell King
2004-06-18T09:21:26Z

On Fri, Jun 18, 2004 at 02:46:46AM +0200, Krzysztof Halasa wrote:
> If we fix the API we should IMHO also remove set_dma_mask() and add
> the number of address bits to the arguments of actual mapping
> functions.

Good idea, except for the fact that we have drivers merged which have
real masks like 0x0fefffff. It _really is_ a mask and not a number
of bits.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core