Return-Path: Received: from n3a.bullet.mail.ac4.yahoo.com (n3a.bullet.mail.ac4.yahoo.com [76.13.13.66]) by ozlabs.org (Postfix) with SMTP id 5CE96DE387 for ; Tue, 17 Jun 2008 05:17:21 +1000 (EST) Date: Mon, 16 Jun 2008 12:10:40 -0700 (PDT) From: Ron Madrid Subject: Re: Using DMA interrupt on MPC8313 To: Scott Wood In-Reply-To: <4856B3B4.9020206@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <329782.75894.qm@web83515.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: , Thank you for the help (again). I've got my driver registering the isr on it's own now. In the end the problem was the dts and also not using irq_of_parse_and_map. Ron --- Scott Wood wrote: > Ron Madrid wrote: > > I don't see a "dma" node in the mpc8377mds.dts (2.6.25). I found one in mpc8610_hpcd.dts and > > modeled it after that. > > Try head-of-tree. > > > dma@82a8 { > > #address-cells = <1>; > > #size-cells = <1>; > > compatible = "fsl,elo-dma"; > > cell-index = <0>; > > reg = <0x82a8 0x4>; /* DMA general status register */ > > ranges = <0x0 0x8100 0x200>; > > Should also put the interrupts in the dma node itself, so that the > driver can register it once and use the shared status register (but > don't remove it from the individual channels). > > -Scott >