From 71b65029204cf725025b2e6695f451fb2299f389 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 1 Apr 2002 12:12:26 +0000 Subject: [PATCH] Do not bother to enable interrupts at attach time - we are going to disable them again imediately --- sys/dev/ic/isac.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/isac.c b/sys/dev/ic/isac.c index 70b91207eb8f..4b712c551022 100644 --- a/sys/dev/ic/isac.c +++ b/sys/dev/ic/isac.c @@ -27,14 +27,14 @@ * i4b_isac.c - i4b siemens isdn chipset driver ISAC handler * --------------------------------------------------------- * - * $Id: isac.c,v 1.7 2002/03/27 07:39:36 martin Exp $ + * $Id: isac.c,v 1.8 2002/04/01 12:12:26 martin Exp $ * * last edit-date: [Fri Jan 5 11:36:10 2001] * *---------------------------------------------------------------------------*/ #include -__KERNEL_RCSID(0, "$NetBSD: isac.c,v 1.7 2002/03/27 07:39:36 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isac.c,v 1.8 2002/04/01 12:12:26 martin Exp $"); #ifdef __FreeBSD__ #include "opt_i4b.h" @@ -689,7 +689,11 @@ isic_isac_init(struct isic_softc *sc) ISAC_MASK_TIN | /* timer irq */ ISAC_MASK_SIN; /* sync xfer irq */ - ISAC_WRITE(I_MASK, ISAC_IMASK); + /* + * We don't want interrupts enabled attach time, so setup the + * mask, but don't write it to the chip yet + */ + /* ISAC_WRITE(I_MASK, ISAC_IMASK); */ return(0); }