From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 77385DDEC5 for ; Fri, 20 Jul 2007 23:52:16 +1000 (EST) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IBstw-0005eA-AA for linuxppc-embedded@ozlabs.org; Fri, 20 Jul 2007 06:52:12 -0700 Message-ID: <11708607.post@talk.nabble.com> Date: Fri, 20 Jul 2007 06:52:12 -0700 (PDT) From: Mirek23 To: linuxppc-embedded@ozlabs.org Subject: Interrupts on xilinx ml403 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear All, I use linux kernel 2.6 on ppc405 of my Avnet (xilinx like ml403) evaluation board. I have setup the virtex-4 FPGA to deal with Themac and Serial interfaces. As input/output devices I have chosen 8 LEDs and DIP Switches. With such a configuration I am able to control from Linux user applications via GPIO driver the LEDs and DIP Switches. Right now I just wanted to make use of the interrupts. I have configured the Dip switches to use interrupt. The interrupt accoures when the DIP Switches state has changed. In the BSP generated by EDK 9.1 I see that macro : #define XPAR_DIP_SWITCHES_8BIT_INTERRUPT_PRESENT 1 has changed from zero to one. The macro XPAR_INTC_MAX_NUM_INTR_INPUTS is set to 1 as it was before. This is due to the fact that TEMAC uses one interrupt line. Does it mean that DIP Switches do not use INTC interrupt controller? How to handle the DIP Switches interrupt? Does the Interrupt handler routine have to acknowledge the interrupt from Dip Switches? Many thanks in advance for any hint on that. Best Regards Mirek -- View this message in context: http://www.nabble.com/Interrupts-on-xilinx-ml403-tf4117226.html#a11708607 Sent from the linuxppc-embedded mailing list archive at Nabble.com.