Subject: Re: Probe/Match routine causing interrupt
To: Martin Husemann <>
From: Jason Thorpe <>
List: tech-kern
Date: 08/04/1997 22:39:08
On Tue, 5 Aug 1997 06:54:27 +0200 (MEST) 
 Martin Husemann <> wrote:

 > In the daemon book I read the probe routine should try to cause an interrupt
 > by the device so the system can figure the interrupt and configure it
 > accordingly. Only if thats not possible, the probe routine should hardwire
 > the interrupt.
 > I didn't find this in our current code - is it still valid? If yes, could
 > anyone point me to an example where this is done (an i386 driver prefered)?
 > How can my probe routine verify the interrupt happened?

Under NetBSD/i386, interrupts are completely disabled during autoconfig.
This method of probing for a device is not to be used.

Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939