linux-mips
[Top] [All Lists]

[PATCH] add dispatch_i8259_irq() to i8259.c

To: linux-mips@linux-mips.org
Subject: [PATCH] add dispatch_i8259_irq() to i8259.c
From: Jun Sun <jsun@mvista.com>
Date: Fri, 13 Dec 2002 15:08:53 -0800
Cc: jsun@mvista.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
If a machine uses i8259 as part of its interrupt routing subsystem,
it typically has two ways to figure out which i8259 interrupt has 
happened.

1) through PCI interrupt ack cycle to directly read the IRQ number
2) read i8259 interrupt status registers and figure which one has
   happened.

This patch adds support for those sorry boards which only have
option 2) available.

While I am here, I also promoted do_IRQ() declaration to a 
header file, as it is needed by all C-level interrupt dispatching
code.

Any feedbacks? 

Jun

Attachment: junk
Description: Text document

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