Subject: Re: troubles with DMA
To: Filka Michal <michal.filka@strom.cz>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 03/14/2006 13:51:27
On Tue, Mar 14, 2006 at 01:07:26PM +0100, Filka Michal wrote:
> But as I already said, when I read it in interrupt handler there is
> nothing in the pulIntQueue queues 
> (I do PRExxx and POSTxxx before/after each access related code:

I think you got the points for the PRE/POST sync operations wrong: you
need to sync PREREAD before telling the device to fill the buffers, and
then sync POSTREAD after the device told you it's done (and before you look
at the contents of the transfered buffers).

Martin