linux-mips
[Top] [All Lists]

Re: PIR OFFSET for AR7

To: "Thomas Bogendoerfer" <tsbogend@alpha.franken.de>
Subject: Re: PIR OFFSET for AR7
From: myuboot@fastmail.fm
Date: Fri, 04 Dec 2009 11:30:57 -0600
Cc: linux-kernel@vger.kernel.org, "linux-mips" <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:cc:mime-version:content-transfer-encoding:content-type:in-reply-to:references:subject:date; s=smtpout; bh=jGDdHI/SKkc95aZSRhlkrL8K8ls=; b=XVrpsORb26GCaYuPKVOLW1qOPGX7hER44gmNmM134kN5M3pi79PC60YmlYwNus74cI4JhEJh8VspIBOtX+1cSqq0iUjfffdUiGGiwg4Rq5oXPimbPc6EBvSzFTHpECM3pXauzfa1a12khXMlKBwRlHVLblXZv3+R3c42cyT0Bn8=
In-reply-to: <20091204160333.GA8842@alpha.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20091028103551.0b4052d8@pixies.home.jungo.com> <1259891550.19943.1348372917@webmail.messagingengine.com> <20091204160333.GA8842@alpha.franken.de>
Sender: linux-mips-bounce@linux-mips.org
Thomas,

Sorry, you are right. I mistook PM_OFFSET for PIR_OFFSET.

Thanks, Andrew
On Fri, 04 Dec 2009 17:03 +0100, "Thomas Bogendoerfer"
<tsbogend@alpha.franken.de> wrote:
> On Thu, Dec 03, 2009 at 07:52:30PM -0600, myuboot@fastmail.fm wrote:
> > Hi, What is the use of PIR register for AR7 board in file
> > arch/mips/ar7/irq.c?
> 
> it gives back the channel and line of the pending interrupt with the
> highest priority.
> 
> > If I understand it right, PIR is used to define the
> > polarity of the interrupts. It seems to me that it needs to initialized?
> 
> no, it's a read only register. Why do you think it has something to do
> with interrupt polarity ?
> 
> Thomas.
> 
> -- 
> Crap can work. Given enough thrust pigs will fly, but it's not necessary
> a
> good idea.                                                [ RFC1925, 2.3
> ]

<Prev in Thread] Current Thread [Next in Thread>