From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nausicaa2.coritel.it (host254-130-static.190-82-b.business.telecomitalia.it [82.190.130.254]) by ozlabs.org (Postfix) with ESMTP id BC9B9DDE20 for ; Thu, 31 Jan 2008 00:45:07 +1100 (EST) Received: from localhost (nausicaa2.coritel.it [127.0.0.1]) by nausicaa2.coritel.it (Postfix) with ESMTP id 6BF8B434004 for ; Wed, 30 Jan 2008 14:24:53 +0100 (CET) Received: from nausicaa2.coritel.it ([127.0.0.1]) by localhost (nausicaa2.coritel.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b2hOLdXKsqJP for ; Wed, 30 Jan 2008 14:24:52 +0100 (CET) Received: from [192.168.2.2] (217-133-82-13.b2b.tiscali.it [217.133.82.13]) by nausicaa2.coritel.it (Postfix) with ESMTP id A2E1F434001 for ; Wed, 30 Jan 2008 14:24:52 +0100 (CET) Message-ID: <47A07C20.4040704@coritel.it> Date: Wed, 30 Jan 2008 14:31:12 +0100 From: Marco Stornelli MIME-Version: 1.0 To: LinuxPPC-Dev Mailing List Subject: External Interrupt Content-Type: text/plain; charset=ISO-8859-15 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi all, I used the linux kernel 2.6.10 with a processor MPC8548E. I wrote a driver for a device connected with the local bus. This device has an external interrupt. In the local bus driver I have used the macro MPC85xx_IRQ_EXT to get the interrupt number and pass it to the driver and after that register the ISR. Now with a kernel 2.6.21 this macro isn't available because in the header file irq.h there is the option CONFIG_PPC_MERGE that disable those options. I think this problem is related to the migration of ppc code towards powerpc. I know that now there is the new device tree source file but I think in this file I should describe only the platform device, and this device is not a platform device. Then, how can I get now this value? Is there some function to call? Thanks in advance. Marco