Subject: Re: Amusing tidbit about Windows/NT...
To: None <perry@piermont.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 04/13/1999 13:09:13
On 13 Apr 1999 15:33:35 -0400 
 "Perry E. Metzger" <perry@piermont.com> wrote:

 > We could conceivably turn on interrupts (briefly) during autoconfig in 
 > order to figure this out. I mean, we don't do that, but we *could*, if 
 > need be. As an alternative, we might be able to figure out a way to
 > detect interrupts firing without actually enabling interrupts. Some
 > interrupt controllers let you do this, but I don't remember the PC's
 > controller allowing that. We might also be able to come up with some
 > other intriguing or gross hack, depending.

No, you don't want to enable interrupts... oh the horror :-)

The latter solution is the better one... I even posted this as a
suggestion, with a rough suggestion for an API :-)

	isa_intr_clear(..);
	[ try and generate interrupt ]
	if (isa_intr_pending(..))
		[ IRQ is usable ]
	isa_intr_clear(..);

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>