From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vega.surpasshosting.com (vega.surpasshosting.com [72.29.83.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CE2DCDE180 for ; Fri, 29 Aug 2008 01:07:08 +1000 (EST) Message-ID: <48B6B201.2070101@embedded-sol.com> Date: Thu, 28 Aug 2008 17:11:13 +0300 From: Felix Radensky MIME-Version: 1.0 To: linuxppc-embedded@ozlabs.org, Stefan Roese Subject: GPIO interrupt on AMCC 460EX 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, I'm writing a Linux driver for CPLD access on custom 460EX based board. CPLD generates interrupt, which is connected to GPIO pin 45. According to 460EX user manual, this pin, if configured as alternate function 3, will generate external interrupt 12, which is mapped into irq 20 on UIC3. My question is - how do I get irq number suitable for passing to request_irq(). Thanks a lot. Felix Radensky Embedded Solutions Ltd. http://www.embedded-sol.com