lkml.org 
[lkml]   [2009]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PIR OFFSET for AR7
Date
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
> ]


\
 
 \ /
  Last update: 2009-12-04 18:33    [W:0.051 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site