Re: raw memory & PCI bus access

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 22 Oct 1999 16:13:45 +0100 (BST)


> documentation, where you don't know how to acknowledge the interrupt
> (yet), this strategy works:
>
> - Select an UNSHARED interrupt line.
>
> - Call disable_irq() when the interrupt is received,
> and enable_irq() when you're ready to receive another.
>
> Of course this is slow, prone to failure, won't work everywhere and
> generally bad. No driver in the kernel rhould even do this.

Its a good debugging aid yes. I've done this myself when trying to get the
ESS maestro going and called the IRQ on the timer tick by hand 8)

-
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/