Re: Interrupts not being raised.

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Fri, 12 Feb 1999 12:47:14 +0100 (CET)


On Fri, 12 Feb 1999, David Woodhouse wrote:

> I have a similar situation. We don't build the card, but we are reliably
> informed that the card shouldn't need any strange magic to persuade it to
> generate interrupts. I didn't believe them until I saw your message, and now
> I'm not so sure.
>
> If I initialise the card under NT and soft-reboot into Linux, then I get
> interrupts from it. Otherwise I have to make it share interrupts with
> the network card, and flood ping something to get my drivers to work :)

does it work if you do this dirty hack within your driver:

<initialize the card>
asm volatile ("int $11"); // raise IRQ11

this is of course illegal, but helps us determine wether it's an
initialization error or an IRQ handling error.

> Adding an 'enable_irq(irq)' after registering the IRQ provokes the
> kernel into saying "enable_irq() unbalanced from 00000009", but doesn't
> actually make it work.

a registered IRQ is automatically enabled.

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/