2 PCI devices behind PCI bridge on Yosemite board.

Leonid Leonid at a-k-a.net
Fri Dec 1 07:18:16 EST 2006


On Thursday, November 30, 2006 12:08 PM Scott Wood wrote:
> > 
> > 1) I request interrupt and provide as interrupt handler empty
function:
> > 
> > irqreturn_t snd_dream_interrupt(int irq, void *dev_id, struct
pt_regs
> > *regs)
> > {
> > 	return IRQ_NONE;
> > }

> You didn't deal with the source of the interrupt.  Since it's
apparently 
> level-triggered, the interrupt just comes right back.

> ...  You need to either provide a 
> real IRQ handler for the Dreamchip, or tell the Dreamchip itself to
mask 
> the IRQ.

On Dreamchip board itself I couldn't find how to mask the interrupt, but
I'll search more. Can you recommend example for "real" IRQ handler for
Dreamchip? I just don't what the system crash. BTW, what will happen if
Dreamchip and Silicon Image will assert interrupt simultaneously?

Thanks,

Leonid.



More information about the Linuxppc-embedded mailing list