From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zambia.cambridgebroadband.com (ip-217-204-121-82.easynet.co.uk [217.204.121.82]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 16CBCDDECE for ; Fri, 11 May 2007 02:45:22 +1000 (EST) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by zambia.cambridgebroadband.com (8.12.8/8.12.8) with ESMTP id l4AGjIPg031612 for ; Thu, 10 May 2007 17:45:18 +0100 Message-ID: <46434C1E.3020004@cambridgebroadband.com> Date: Thu, 10 May 2007 17:45:18 +0100 From: Alex Zeffertt MIME-Version: 1.0 To: linuxppc-embedded@ozlabs.org Subject: 83xx: requesting external interrupts Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi list, I'm trying to port a driver from 2.6.11 to 2.6.21 and I'm stuck on the following line: request_irq(MPC83xx_IRQ_EXT5, mpc832xemds_phy_interrupt, SA_SHIRQ, "pm5384", dev); The first problem is that MPC83xx_IRQ_EXT5 is no longer defined. If I hard code this to what I think is the right value (i.e. 21) then request_irq fails on insmod. I obviously need to do something different now that ARCH=powerpc, but I can't find any examples of code which requests 83xx external interrupts. Can anybody help? TIA, Alex