Messages in this thread | | | Date | Mon, 05 Jan 2009 23:02:30 +0900 (JST) | Subject | Re: dw_dmac driver questions | From | Atsushi Nemoto <> |
| |
On Mon, 29 Dec 2008 23:39:32 +0900 (JST), Atsushi Nemoto <anemo@mba.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
| |