From owner-freebsd-hackers Sun Nov 2 19:49:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA02430 for hackers-outgoing; Sun, 2 Nov 1997 19:49:46 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from trojanhorse.ml.org (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA02422 for ; Sun, 2 Nov 1997 19:49:42 -0800 (PST) (envelope-from jamil@trojanhorse.ml.org) Received: from localhost (jamil@localhost) by trojanhorse.ml.org (8.8.7/8.8.5) with SMTP id TAA00277 for ; Sun, 2 Nov 1997 19:49:32 -0800 (PST) Date: Sun, 2 Nov 1997 19:49:32 -0800 (PST) From: "Jamil J. Weatherbee" Reply-To: "Jamil J. Weatherbee" To: hackers@freebsd.org Subject: Invoking interuppt during isa probe Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I would like to know how to do the following: I have a board which can operate in either interrupt driven mode, or polled mode, via an installed jumper. I would like to detect which mode during startup. I can force an interrupt to be generated by the unit during startup, however, what happens to interrupts for units before they have been attached? Is there some way to detect that an interrupt was generated by my actions?