lkml.org 
[lkml]   [1999]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Interrupts not being raised.

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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.060 / U:1.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site