summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-07-18 06:12:33 +0000
committerthorpej <thorpej@NetBSD.org>2000-07-18 06:12:33 +0000
commitb91d520dc934cfc06019fe2b9c2f4d58a174a786 (patch)
tree3460c55bda92bc3f7b15d8ba937da0d67b3d6d74 /sys/dev
parentea0cb4c30eeaaaf19e23dd6d329008a804031be5 (diff)
Back out previous. It is no longer needed, as both the Alpha
and DECstation IOASIC drivers clear the appropriate interrupts in the dispatch routine.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/tc/bba.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/tc/bba.c b/sys/dev/tc/bba.c
index 87f08c603d1..d04d8fa9540 100644
--- a/sys/dev/tc/bba.c
+++ b/sys/dev/tc/bba.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bba.c,v 1.10 2000/07/17 17:43:16 thorpej Exp $ */
+/* $NetBSD: bba.c,v 1.11 2000/07/18 06:12:33 thorpej Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -599,7 +599,6 @@ bba_intr(addr)
mask = bus_space_read_4(sc->sc_bst, sc->sc_bsh, IOASIC_INTR);
if (mask & IOASIC_INTR_ISDN_TXLOAD) {
- mask &= ~IOASIC_INTR_ISDN_TXLOAD;
d = &sc->sc_tx_dma_state;
d->curseg = (d->curseg+1) % d->dmam->dm_nsegs;
nphys = (tc_addr_t)d->dmam->dm_segs[d->curseg].ds_addr;
@@ -609,7 +608,6 @@ bba_intr(addr)
(*d->intr)(d->intr_arg);
}
if (mask & IOASIC_INTR_ISDN_RXLOAD) {
- mask &= ~IOASIC_INTR_ISDN_RXLOAD;
d = &sc->sc_rx_dma_state;
d->curseg = (d->curseg+1) % d->dmam->dm_nsegs;
nphys = (tc_addr_t)d->dmam->dm_segs[d->curseg].ds_addr;
@@ -618,7 +616,6 @@ bba_intr(addr)
if (d->intr != NULL)
(*d->intr)(d->intr_arg);
}
- bus_space_write_4(sc->sc_bst, sc->sc_bsh, IOASIC_INTR, mask);
splx(s);