Return-Path: Received: from web83503.mail.sp1.yahoo.com (web83503.mail.sp1.yahoo.com [216.252.120.159]) by ozlabs.org (Postfix) with SMTP id DBBF8DE044 for ; Sat, 14 Jun 2008 05:02:04 +1000 (EST) Date: Fri, 13 Jun 2008 12:02:02 -0700 (PDT) From: Ron Madrid Subject: Re: Using DMA interrupt on MPC8313 To: Kumar Gala In-Reply-To: <4D6BC3F2-C43D-4317-B0BE-AF0A551E6CF1@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <973175.42029.qm@web83503.mail.sp1.yahoo.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , So after I've built the kernel to include the dmaengine and fsldma drivers, my driver is allowed to register its ISR via request_irq. However, if these drivers are not installed then request_irq fails in my driver. So it seems that there is some other initialization happening before request_irq is being called in fsldma and subsequently my driver. Does anyone know what this is? Ron --- Kumar Gala wrote: > The dmaengine provides a generic set of APIs w/a FSL dma backend. It > might be the case that your need of dma doesnt fit into the current > set of APIs. > > - k > > On Jun 12, 2008, at 3:04 PM, Ron Madrid wrote: > > > Well in that case wouldn't I need to use the fsldma driver? Or is > > dmaengine a generic dma driver? > > > > Ron > > --- Kumar Gala wrote: > > > >> > >> On Jun 12, 2008, at 2:35 PM, Ron Madrid wrote: > >> > >>> I'm trying to write a driver that would make use of the DMA on the > >>> MPC8313. I'm attempting to > >>> register the interrupt with request_irq but it is not passing. Is > >>> there something that I need to > >>> do before I call request_irq, maybe in the dts or somewhere else? > >> > >> > >> any reason you aren't using the dmaengine driver? > >> > >> - k > >> > >