Re: raw memory & PCI bus access

Jes Sorensen (Jes.Sorensen@cern.ch)
21 Oct 1999 22:02:35 +0200


>>>>> "Jamie" == Jamie Lokier <lkd@tantalophile.demon.co.uk> writes:

Jamie> Alan Cox wrote:
>> Infinite if your IRQ is shared.
>>
>> You probably want to handle the IRQ in the kernel including
>> retrieving the status you need and clearing the irq state.

Jamie> Without documentation, sometimes we don't know how to clear the
Jamie> irq state ;-) disable_irq() works wonders in this case.

disable_irq() is slow and evil and breaks miserably when using shared
interrupts. General rule, do not use it.

Jes

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