Re: help DMA FIFO buffer

Alan Cox (alan@lxorguk.ukuu.org.uk)
09 Apr 2003 11:37:44 +0100


On Iau, 2003-04-10 at 05:18, dave wrote:
> Hi I am writing a device driver LNVRM is uses DMA for commands and data
> i need a function that will wait until their is enough room in the FIFO for
> the new
> data this function works but their must be a better way I need a formula
> that dose
> not have if's in it

Why ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/