Shared Interrupts Question (2.4)

2003-05-09 Thread Dale Farnsworth
On Fri, May 09, 2003 at 05:34:17PM +, Kent Borg wrote: > On Thu, May 08, 2003 at 02:14:26PM -0700, Dale Farnsworth wrote: > > Create and register a board-specific interrupt driver. Assign it > > a range of irqs (non-conflicting with the main interrupt driver). > > When called with an irq outs

Shared Interrupts Question (2.4)

2003-05-09 Thread Kent Borg
On Thu, May 08, 2003 at 02:14:26PM -0700, Dale Farnsworth wrote: > Create and register a board-specific interrupt driver. Assign it > a range of irqs (non-conflicting with the main interrupt driver). > When called with an irq outside its range, the board-specific driver > routines forward the cal

Shared Interrupts Question (2.4)

2003-05-08 Thread Kent Borg
Dale Farnsworth wrote: > Create and register a board-specific interrupt driver. Assign it > a range of irqs (non-conflicting with the main interrupt driver). > When called with an irq outside its range, the board-specific driver > routines forward the call to the main driver. The board-specific

Shared Interrupts Question (2.4)

2003-05-08 Thread Kent Borg
On Thu, May 08, 2003 at 01:20:12PM -0700, bhupinder sahran wrote: > SO in the do_irq routine u will have to read the > interrupt controller registers & find out who has > caused the interrupt & then invoke interrupt handler > corressponding to the interrupt number. Yes, but how do I enable the in

Shared Interrupts Question (2.4)

2003-05-08 Thread Kent Borg
I am trying to understand "kinda shared" interrupts. There are various interrupts in my not-yet-released CPU, and I have interrupt code that knows how to talk to them. So far so good. I also have an external interrupt controller that groups together 18 external interrupt sources and sends them

Shared Interrupts Question (2.4)

2003-05-08 Thread Dale Farnsworth
On Thu, May 08, 2003 at 08:08:56PM +, Kent Borg wrote: > > I am trying to understand "kinda shared" interrupts. > > There are various interrupts in my not-yet-released CPU, and I have > interrupt code that knows how to talk to them. So far so good. I > also have an external interrupt control

Shared Interrupts Question (2.4)

2003-05-08 Thread bhupinder sahran
Hi U r saying from the interrupt controller only one physical line is coming to CPU to interrupt CPU. SO in the do_irq routine u will have to read the interrupt controller registers & find out who has caused the interrupt & then invoke interrupt handler corressponding to the interrupt number. U