Re: [patch] io-apic-2.1.98-B

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 27 Apr 1998 10:53:34 +0100 (BST)


>
> Ok, but one question, to a clueless driver developer, what should we
> expect him to think that:
>
> disable_irq(x);
> ... some stuff ...
> disable_irq(x);
> ...
> enable_irq(x);
> ... some stuff ...
> enable_irq(x);
>
> does? On the Sparc we treat it the way you think it should work
> (enable_irq() turns it on and no depth checking is done) however our
> case is different since we've written and maintain all our drivers and
> like to not think of ourselves as clueless driver developers ;-)

If you change it make it bitch if you disable a disabled irq or enable
and enabled irq. That way there is a remote chance that they will get fixed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu