From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fep07.mfe.bur.connect.com.au (fep07.mfe.bur.connect.com.au [203.63.86.27]) by ozlabs.org (Postfix) with ESMTP id EBFA267BC5 for ; Tue, 12 Dec 2006 13:05:43 +1100 (EST) Received: from [192.168.1.100] (cor12-ppp739.hay.dsl.connect.net.au [61.68.66.231]) by fep07.mfe.bur.connect.com.au (Postfix) with ESMTP id CBA19F8C6 for ; Tue, 12 Dec 2006 12:58:21 +1100 (EST) Message-ID: <457E0D11.1010802@rftechnology.com.au> Date: Tue, 12 Dec 2006 12:59:45 +1100 From: Dmytro Bablinyuk MIME-Version: 1.0 To: linuxppc-embedded@ozlabs.org Subject: MPC8272: Edge triggered IRQ Content-Type: text/plain; charset=ISO-8859-1 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I have pretty simple code that I did a long time ago irqreturn_t irq_handler(int irq, void *dev_id, struct pt_regs *regs) { .. return IRQ_HANDLED; } request_irq(irq, &irq_handler, SA_INTERRUPT, "irq handler", NULL); That code runs on MPC8272 and 2.6.18 kernel. It triggers IRQ on low level (I thought it was falling edge by default). So, as long as I have input low level I have hundreds of calls. Pretty much it keeps calling IRQ handling routine. How do I make it to trigger on falling edge? Thank you, Dmytro