From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.183]) by ozlabs.org (Postfix) with ESMTP id 1C6B9DDDD8 for ; Sat, 18 Aug 2007 00:03:35 +1000 (EST) Received: by ik-out-1112.google.com with SMTP id b35so118047ika for ; Fri, 17 Aug 2007 07:03:33 -0700 (PDT) Message-ID: Date: Fri, 17 Aug 2007 10:03:31 -0400 From: "robert lazarski" Subject: Re: external IRQ's Cc: linuxppc-embedded@ozlabs.org In-Reply-To: <46C4C4E6.9070406@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <46C47A1D.5030303@freescale.com> <46C4C4E6.9070406@freescale.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 8/16/07, Scott Wood wrote: > robert lazarski wrote: > > Why <1d 2 1e 2 22 2> ? I can't seem to parse these numbers > > They alternate between IRQ numbers and level/sense information, and the > IRQ numbers are the internal IRQ number plus 16. Thanks, The "internal IRQ number plus 16" part is the info I was lacking. However by 'internal IRQ' do you mean DMA? I just asked the hardware engineer and that's what he thought you may have meant. So in '1d' the first cell is the irq and the second cell is the sense level, how is the '1' calculated from 'internal IRQ number plus 16' . Thanks for you patience, I'm just not getting that part yet. > > > - how do I > > know what to use for my external interupts 1,2 for phy's 0,1 using a > > 88E1121R and for external interupts 3,4 for phy's 2,3 using a 88E1111 > > ? > > I thought it was interrupts 0-3, not 1-4? It was 0-3 ;-) > > If, like the CDS board, you have level-triggered active-low phy > interrupts, then <0 1>, <1 1>, <2 1>, and <3 1>. If not, then choose an > appropriate value for the second cell based on booting-without-of.txt. > Kool, think I got this part. Do the 0-3 irq's in the mdio node influence in any way the ethernet nodes irq's - the <1d 2 1e 2 22 2> in this example ? Thanks! Robert