From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by ozlabs.org (Postfix) with ESMTP id 4BC5F67B21 for ; Tue, 13 Jun 2006 06:03:54 +1000 (EST) Received: by ug-out-1314.google.com with SMTP id j3so135783ugf for ; Mon, 12 Jun 2006 13:03:52 -0700 (PDT) Message-ID: <528646bc0606121303p35d4955dn60b82dc5fa6c9566@mail.gmail.com> Date: Mon, 12 Jun 2006 14:03:52 -0600 From: "Grant Likely" Sender: glikely@gmail.com To: "Chris Dumoulin" Subject: Re: How to determine IRQ w/ PPC045 (Virtex II Pro)? In-Reply-To: <448DC718.1010700@ics-ltd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <448DC718.1010700@ics-ltd.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 6/12/06, Chris Dumoulin wrote: > When writing device drivers for a 2.6 linux kernel running on a PPC405, > in a Virtex II Pro, how do I determine which IRQ to use in my call to > request_irq? I imagine that the IRQ will be directly dependent on how my > device's interrupt is connected to the interrupt controller I'm using, > but I don't know how to figure out the IRQ number. Any help would be > appreciated. IRQ attachments are provided as #defines in the xparameters.h file generated by Xilinx EDK. g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195