summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/nmi.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-04 21:18:20 +0000
committerdfr <dfr@FreeBSD.org>1999-05-04 21:18:20 +0000
commit71a93464d5d445ed2e88880ed517e3914244b32d (patch)
tree26b5bc28766bc9b3a954e3c9cf27cf821bfb9601 /sys/i386/isa/nmi.c
parente10abce1f88a08829de25cf513f6ba111cc0fd84 (diff)
downloadFreeBSD-src-71a93464d5d445ed2e88880ed517e3914244b32d.zip
FreeBSD-src-71a93464d5d445ed2e88880ed517e3914244b32d.tar.gz
Use unit, not device_id as an argument to an old-style ISA interrupt
handler. This fixes pnp interrupts and would have fixed pccard interrupts but a workaround has been applied there. This the sound driver problems which people have reported with new-bus.
Diffstat (limited to 'sys/i386/isa/nmi.c')
-rw-r--r--sys/i386/isa/nmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/nmi.c b/sys/i386/isa/nmi.c
index 6eb9a79..cfb6b54 100644
--- a/sys/i386/isa/nmi.c
+++ b/sys/i386/isa/nmi.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $
+ * $Id: intr_machdep.c,v 1.20 1999/04/23 21:01:19 peter Exp $
*/
/*
* This file contains an aggregated module marked:
@@ -521,7 +521,7 @@ icu_unset(intr, handler)
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: intr_machdep.c,v 1.19 1999/04/21 07:26:27 peter Exp $
+ * $Id: intr_machdep.c,v 1.20 1999/04/23 21:01:19 peter Exp $
*
*/
@@ -868,7 +868,7 @@ register_intr(int intr, int device_id, u_int flags,
if (irec == NULL)
return NULL;
bzero(irec, sizeof *irec);
- irec->id_unit = device_id;
+ irec->id_unit = unit;
irec->id_handler = handler;
flags |= INTR_EXCL;
OpenPOWER on IntegriCloud