From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id D386FB7B60 for ; Sat, 5 Sep 2009 05:24:14 +1000 (EST) Received: from mail-yw0-f190.google.com (mail-yw0-f190.google.com [209.85.211.190]) by ozlabs.org (Postfix) with ESMTP id 3DA48DDD01 for ; Sat, 5 Sep 2009 05:24:13 +1000 (EST) Received: by ywh28 with SMTP id 28so1683693ywh.15 for ; Fri, 04 Sep 2009 12:24:12 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 4 Sep 2009 16:24:12 -0300 Message-ID: Subject: Re: MPC85xx External/Internal Interrupts From: Alemao To: linuxppc-dev@ozlabs.org Content-Type: text/plain; charset=ISO-8859-1 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Sep 4, 2009 at 4:14 PM, Alemao wrote: > I've read some posts in the list, and about: > > irq_of_parse_and_map() > irq_create_map() > > But Im still trying to understand MPC85xx TSEC1 dts. > > Gianfar driver is using request_irq(), and request_irq() uses virtual > irq, right? > > Thats why in dts all irqs for TSEC1 are "offseted" of 16? > > Manual =A0| =A0DTS > --------------- > 13 =A0 =A0 =A0 =A0 29 > 14 =A0 =A0 =A0 =A0 30 > 18 =A0 =A0 =A0 =A0 34 > This makes no sense. CPM2-PIC, in MPC8555ERM, its on 30. In DTS is on 46. Offset of 16. But my platform code use irq_of_parse_and_map()! So why this offset?!?! -- Alemao