> -----Original Message-----
> From: Ralf Baechle [mailto:firstname.lastname@example.org]
> Sent: 19 September 2001 17:41
> To: Phil Thompson
> Cc: 'Zhang Fuxin'; email@example.com
> Subject: Re: Re: 8259 spurious interrupt (IRQ1,IRQ7,IRQ12..)
> On Wed, Sep 19, 2001 at 11:27:14AM +0100, Phil Thompson wrote:
> > Make sure you read the section in the P6032 manual "Tips on
> > south bridge interrupt controller(s)" - page 31. I don't
> see how the 8259
> > code that's part of the MIPS tree can ever be used without changes.
> Can you elaborate? It's actually being used without problems.
The P6032 documentation recommends using Special Mask Mode to disable the
8259's priority logic so that reading the ISR register gives you the set of
pending interrupts. I took that at face value, so you need to program the
mode and need a function to return the set of pending interrupts (although
you could use i8259A_irq_pending() in loop).