From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id B72E2DDF2E for ; Wed, 10 Dec 2008 05:24:01 +1100 (EST) Message-ID: <493EB7A7.7060608@freescale.com> Date: Tue, 09 Dec 2008 12:23:35 -0600 From: Scott Wood MIME-Version: 1.0 To: liran raz Subject: Re: which irqflag to use with request_irq References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , liran raz wrote: > hi, > > When using the function: > int request_irq (unsigned int irq, > irq_handler_t handler, > unsigned long irqflags, > const char * devname, > void * dev_id); > > To connect an ISR to one of the processor's > peripherals irq (SCC in my case). > > Which value I should use for irqflags, > from the list in: interrupt.h file. Just pass zero (or IRQF_SHARED if the IRQ is shared, but it shouldn't be in this case). -Scott