[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090105.230230.132760259.anemo@mba.ocn.ne.jp>
Date: Mon, 05 Jan 2009 23:02:30 +0900 (JST)
From: Atsushi Nemoto <anemo@....ocn.ne.jp>
To: haavard.skinnemoen@...el.com
Cc: linux-kernel@...r.kernel.org, maciej.sosnowski@...el.com,
dan.j.williams@...el.com
Subject: Re: dw_dmac driver questions
On Mon, 29 Dec 2008 23:39:32 +0900 (JST), Atsushi Nemoto <anemo@....ocn.ne.jp> wrote:
> Hi. I'm writing a new DMA driver, using dw_dmac driver in kernel
> 2.6.28 as a reference implementation.
>
> I can see an outline of the dw_dmac driver and framework (well,
> hopefully), but have some questions in details.
One more.
4. This is a comment on head of dwc_handle_error().
/*
* The descriptor currently at the head of the active list is
* borked. Since we don't have any way to report errors, we'll
* just have to scream loudly and try to carry on.
*/
But, the bad descriptor can be at any place of the active list, no ?
For example, if the active list contained two descriptor and latter
was broken and tasklet was delayed by some reason, the head of the
list should be good.
---
Atsushi Nemoto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists