From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out001.atlarge.net (out001.atlarge.net [129.41.63.69]) by ozlabs.org (Postfix) with ESMTP id 9AF3CDDF8B for ; Thu, 22 Mar 2007 20:51:22 +1100 (EST) Date: Thu, 22 Mar 2007 10:51:18 +0100 From: Domen Puncer To: David Gibson Subject: Re: [PATCH 4/10] Add arch/powerpc driver for UIC, PPC4xx interrupt controller Message-ID: <20070322095118.GA18236@moe.telargo.com> References: <20070322060630.GB16993@localhost.localdomain> <20070322092202.1299EDDF3E@ozlabs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070322092202.1299EDDF3E@ozlabs.org> Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 22/03/07 20:22 +1100, David Gibson wrote: > +static int uic_set_irq_type(unsigned int virq, unsigned int flow_type) > + case IRQ_TYPE_LEVEL_HIGH: > + trigger = 0; polarity = 1; > + break; > + case IRQ_TYPE_LEVEL_LOW: > + trigger = 0; polarity = 1; Is this intended to be the same? Domen